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>)
Tuple Fields
0: MaybeArchived<'a, L>
Search encountered a leaf
Annotation(ARef<'a, A>)
Tuple Fields
0: 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
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
Gets the layout of the type.