pub type NodeMap<TYPES> = BTreeMap<<TYPES as NodeType>::Time, Vec<Leaf<TYPES>>>;
Expand description

Map from views to leaves for a single node, allowing multiple leaves for each view (because the node may a priori send us multiple leaves for a given view).

Aliased Type§

struct NodeMap<TYPES> {
    root: Option<NodeRef<Owned, <TYPES as NodeType>::Time, Vec<Leaf<TYPES>>, LeafOrInternal>>,
    length: usize,
    pub(super) alloc: ManuallyDrop<Global>,
    _marker: PhantomData<Box<(<TYPES as NodeType>::Time, Vec<Leaf<TYPES>>)>>,
}

Fields§

§root: Option<NodeRef<Owned, <TYPES as NodeType>::Time, Vec<Leaf<TYPES>>, LeafOrInternal>>§length: usize§alloc: ManuallyDrop<Global>§_marker: PhantomData<Box<(<TYPES as NodeType>::Time, Vec<Leaf<TYPES>>)>>