Enum microkelvin::ChildMut
source · [−]pub enum ChildMut<'a, C, A>where
C: Compound<A>,{
Leaf(&'a mut C::Leaf),
Node(&'a mut Annotated<Box<C>, A>),
Empty,
EndOfNode,
}
Variants
Leaf(&'a mut C::Leaf)
Child is a leaf
Node(&'a mut Annotated<Box<C>, A>)
Child is an annotated node
Empty
Empty slot
EndOfNode
No more children
Trait Implementations
Auto Trait Implementations
impl<'a, C, A> !RefUnwindSafe for ChildMut<'a, C, A>
impl<'a, C, A> Send for ChildMut<'a, C, A>where
A: Send,
C: Send,
<C as Compound<A>>::Leaf: Send,
impl<'a, C, A> !Sync for ChildMut<'a, C, A>
impl<'a, C, A> Unpin for ChildMut<'a, C, A>
impl<'a, C, A> !UnwindSafe for ChildMut<'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