Struct microkelvin::Branch
source · [−]pub struct Branch<'a, C, A>(_);
Expand description
Represents an immutable branch view into a collection.
Branches are always guaranteed to point at a leaf, and can be de-referenced to the pointed-at leaf.
Implementations
Trait Implementations
sourceimpl<'a, C, A> IntoIterator for Branch<'a, C, A>where
C: Compound<A>,
impl<'a, C, A> IntoIterator for Branch<'a, C, A>where
C: Compound<A>,
Auto Trait Implementations
impl<'a, C, A> !RefUnwindSafe for Branch<'a, C, A>
impl<'a, C, A> !Send for Branch<'a, C, A>
impl<'a, C, A> !Sync for Branch<'a, C, A>
impl<'a, C, A> Unpin for Branch<'a, C, A>
impl<'a, C, A> !UnwindSafe for Branch<'a, C, A>
Blanket Implementations
sourceimpl<'a, C, A> Annotation<&'a C> for Awhere
A: Annotation<C>,
impl<'a, C, A> Annotation<&'a C> for Awhere
A: Annotation<C>,
sourcefn from_child(t: &&'a C) -> A
fn from_child(t: &&'a C) -> A
Compute the annotation from the child.
sourceimpl<'a, C, A> Annotation<&'a mut C> for Awhere
A: Annotation<C>,
impl<'a, C, A> Annotation<&'a mut C> for Awhere
A: Annotation<C>,
sourcefn from_child(t: &&'a mut C) -> A
fn from_child(t: &&'a mut C) -> A
Compute the annotation from the child.
sourceimpl<C, A> Annotation<Arc<C>> for Awhere
A: Annotation<C>,
impl<C, A> Annotation<Arc<C>> for Awhere
A: Annotation<C>,
sourcefn from_child(t: &Arc<C>) -> A
fn from_child(t: &Arc<C>) -> A
Compute the annotation from the child.
sourceimpl<C, A> Annotation<Box<C, Global>> for Awhere
A: Annotation<C>,
impl<C, A> Annotation<Box<C, Global>> for Awhere
A: Annotation<C>,
sourcefn from_child(t: &Box<C, Global>) -> A
fn from_child(t: &Box<C, Global>) -> A
Compute the annotation from the child.
sourceimpl<C, A> Annotation<Rc<C>> for Awhere
A: Annotation<C>,
impl<C, A> Annotation<Rc<C>> for Awhere
A: Annotation<C>,
sourcefn from_child(t: &Rc<C>) -> A
fn from_child(t: &Rc<C>) -> A
Compute the annotation from the child.
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more