pub enum NonNilNodeRef<'a, M: Monoid> {
Node2(&'a NodeData<M, 1>),
Node3(&'a NodeData<M, 2>),
}Variants§
Trait Implementations§
Source§impl<'a, M: Clone + Monoid> Clone for NonNilNodeRef<'a, M>
impl<'a, M: Clone + Monoid> Clone for NonNilNodeRef<'a, M>
Source§fn clone(&self) -> NonNilNodeRef<'a, M>
fn clone(&self) -> NonNilNodeRef<'a, M>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a, M> NonNilNodeRef<'a, M, Node<M>> for NonNilNodeRef<'a, M>where
M: Monoid + 'a,
impl<'a, M> NonNilNodeRef<'a, M, Node<M>> for NonNilNodeRef<'a, M>where
M: Monoid + 'a,
type ChildIter<'b> = ChildIter<'b, M> where M: 'b, Self: 'b
fn min(&self) -> &'a <M as Monoid>::Item
fn max(&self) -> &<M as Monoid>::Item
fn children(&self) -> Self::ChildIter<'a>
fn last_child<'b>(&'b self) -> &'b Node<M>
fn bounds(&self) -> (&<M as Monoid>::Item, &<M as Monoid>::Item)
Auto Trait Implementations§
impl<'a, M> Freeze for NonNilNodeRef<'a, M>
impl<'a, M> RefUnwindSafe for NonNilNodeRef<'a, M>
impl<'a, M> !Send for NonNilNodeRef<'a, M>
impl<'a, M> !Sync for NonNilNodeRef<'a, M>
impl<'a, M> Unpin for NonNilNodeRef<'a, M>
impl<'a, M> UnwindSafe for NonNilNodeRef<'a, M>
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