pub enum SplitNodeDeque<BranchData: Debug, LeafData: Debug> {
Branch(BranchDeque<BranchData, LeafData>),
Leaf(LeafDeque<BranchData, LeafData>),
}Available on crate features
deque and split only.Variants§
Branch(BranchDeque<BranchData, LeafData>)
Leaf(LeafDeque<BranchData, LeafData>)
Trait Implementations§
source§impl<BranchData, LeafData> BaseNode for SplitNodeDeque<BranchData, LeafData>
impl<BranchData, LeafData> BaseNode for SplitNodeDeque<BranchData, LeafData>
§type Representation = SplitNodeRepresentation<BranchData, LeafData>
type Representation = SplitNodeRepresentation<BranchData, LeafData>
§type Branch = BranchDeque<BranchData, LeafData>
type Branch = BranchDeque<BranchData, LeafData>
The type used for branch nodes. Read more
source§fn into_representation(self, arena: &mut Arena<Self>) -> Self::Representationwhere
Self: Sized,
fn into_representation(self, arena: &mut Arena<Self>) -> Self::Representationwhere
Self: Sized,
Converts this node into its representation. Read more
source§impl<BranchData: Debug + Debug, LeafData: Debug + Debug> Debug for SplitNodeDeque<BranchData, LeafData>
impl<BranchData: Debug + Debug, LeafData: Debug + Debug> Debug for SplitNodeDeque<BranchData, LeafData>
source§impl<BranchData, LeafData> Node for SplitNodeDeque<BranchData, LeafData>
impl<BranchData, LeafData> Node for SplitNodeDeque<BranchData, LeafData>
§type Base = SplitNodeDeque<BranchData, LeafData>
type Base = SplitNodeDeque<BranchData, LeafData>
§type Token = SplitTokenDeque<BranchData, LeafData>
type Token = SplitTokenDeque<BranchData, LeafData>
The token associated with this type of node.
§type DataRef<'data> = SplitData<&'data BranchData, &'data LeafData>
where
Self: 'data
type DataRef<'data> = SplitData<&'data BranchData, &'data LeafData> where Self: 'data
§type DataRefMut<'data> = SplitData<&'data mut BranchData, &'data mut LeafData>
where
Self: 'data
type DataRefMut<'data> = SplitData<&'data mut BranchData, &'data mut LeafData> where Self: 'data
source§fn data(&self) -> Self::DataRef<'_>
fn data(&self) -> Self::DataRef<'_>
Returns a reference to the data associated with this node.
source§fn data_mut(&mut self) -> Self::DataRefMut<'_>
fn data_mut(&mut self) -> Self::DataRefMut<'_>
Returns a mutable reference to the data associated with this node.
source§impl<BranchData, LeafData> NodeToken<SplitNodeDeque<BranchData, LeafData>> for SplitTokenDeque<BranchData, LeafData>
impl<BranchData, LeafData> NodeToken<SplitNodeDeque<BranchData, LeafData>> for SplitTokenDeque<BranchData, LeafData>
source§impl<'node, BranchData, LeafData> TryFrom<&'node SplitNodeDeque<BranchData, LeafData>> for &'node BranchDeque<BranchData, LeafData>
impl<'node, BranchData, LeafData> TryFrom<&'node SplitNodeDeque<BranchData, LeafData>> for &'node BranchDeque<BranchData, LeafData>
§type Error = &'node SplitNodeDeque<BranchData, LeafData>
type Error = &'node SplitNodeDeque<BranchData, LeafData>
The type returned in the event of a conversion error.
source§impl<'node, BranchData, LeafData> TryFrom<&'node SplitNodeDeque<BranchData, LeafData>> for &'node LeafDeque<BranchData, LeafData>
impl<'node, BranchData, LeafData> TryFrom<&'node SplitNodeDeque<BranchData, LeafData>> for &'node LeafDeque<BranchData, LeafData>
§type Error = &'node SplitNodeDeque<BranchData, LeafData>
type Error = &'node SplitNodeDeque<BranchData, LeafData>
The type returned in the event of a conversion error.
source§impl<'node, BranchData, LeafData> TryFrom<&'node mut SplitNodeDeque<BranchData, LeafData>> for &'node mut BranchDeque<BranchData, LeafData>
impl<'node, BranchData, LeafData> TryFrom<&'node mut SplitNodeDeque<BranchData, LeafData>> for &'node mut BranchDeque<BranchData, LeafData>
§type Error = &'node mut SplitNodeDeque<BranchData, LeafData>
type Error = &'node mut SplitNodeDeque<BranchData, LeafData>
The type returned in the event of a conversion error.
source§impl<'node, BranchData, LeafData> TryFrom<&'node mut SplitNodeDeque<BranchData, LeafData>> for &'node mut LeafDeque<BranchData, LeafData>
impl<'node, BranchData, LeafData> TryFrom<&'node mut SplitNodeDeque<BranchData, LeafData>> for &'node mut LeafDeque<BranchData, LeafData>
§type Error = &'node mut SplitNodeDeque<BranchData, LeafData>
type Error = &'node mut SplitNodeDeque<BranchData, LeafData>
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl<BranchData, LeafData> RefUnwindSafe for SplitNodeDeque<BranchData, LeafData>where
BranchData: RefUnwindSafe,
LeafData: RefUnwindSafe,
impl<BranchData, LeafData> Send for SplitNodeDeque<BranchData, LeafData>
impl<BranchData, LeafData> Sync for SplitNodeDeque<BranchData, LeafData>
impl<BranchData, LeafData> Unpin for SplitNodeDeque<BranchData, LeafData>
impl<BranchData, LeafData> UnwindSafe for SplitNodeDeque<BranchData, LeafData>where
BranchData: UnwindSafe,
LeafData: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more