Enum microkelvin::Discriminant
source · [−]pub enum Discriminant<'a, L, A> where
L: Archive, {
Leaf(MaybeArchived<'a, L>),
Annotation(ARef<'a, A>),
Empty,
End,
}
Expand description
Information to select paths in searches
Variants
Leaf(MaybeArchived<'a, L>)
Search encountered a leaf
Annotation(ARef<'a, A>)
Search encountered an annotated subtree
Empty
Search encountered an empty slot
End
Search encountered the end of the node
Auto Trait Implementations
impl<'a, L, A> !RefUnwindSafe for Discriminant<'a, L, A>
impl<'a, L, A> !Send for Discriminant<'a, L, A>
impl<'a, L, A> !Sync for Discriminant<'a, L, A>
impl<'a, L, A> Unpin for Discriminant<'a, L, A> where
A: Unpin,
impl<'a, L, A> !UnwindSafe for Discriminant<'a, L, A>
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