Enum microkelvin::Child
source · [−]pub enum Child<'a, C, A, I> where
C: Compound<A, I>,
C::Leaf: Archive, {
Leaf(&'a C::Leaf),
Link(&'a Link<C, A, I>),
Empty,
End,
}
Expand description
The response of the child
method on a Compound
node.
Variants
Leaf(&'a C::Leaf)
Child is a leaf
Link(&'a Link<C, A, I>)
Child is an annotated subtree node
Empty
Empty slot
End
No more children
Auto Trait Implementations
impl<'a, C, A, I> !RefUnwindSafe for Child<'a, C, A, I>
impl<'a, C, A, I> !Send for Child<'a, C, A, I>
impl<'a, C, A, I> !Sync for Child<'a, C, A, I>
impl<'a, C, A, I> Unpin for Child<'a, C, A, I>
impl<'a, C, A, I> !UnwindSafe for Child<'a, C, A, I>
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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