Enum microkelvin::ChildMut
source · [−]pub enum ChildMut<'a, C, A> where
C: Compound<A>, {
Leaf(&'a mut C::Leaf),
Node(&'a mut Link<C, A>),
Empty,
EndOfNode,
}
Expand description
The response of the child_mut
method on a Compound
node.
Variants
Leaf(&'a mut C::Leaf)
Child is a leaf
Node(&'a mut Link<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 + Sync,
<C as Compound<A>>::Leaf: Send,
impl<'a, C, A> Sync for ChildMut<'a, C, A> where
A: Send + Sync,
C: Send + Sync,
<C as Compound<A>>::Leaf: Sync,
impl<'a, C, A> Unpin for ChildMut<'a, C, A>
impl<'a, C, A> !UnwindSafe for ChildMut<'a, C, A>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more