pub enum Nucleus<'de> {
Boolean(bool),
Integer(Integer),
Float(Float),
Bytes(Cow<'de, [u8]>),
Unit,
Named,
DynamicMap,
DynamicEnd,
}
Expand description
A value contained within an Atom
.
Variants
Boolean(bool)
A boolean value.
Integer(Integer)
An integer value.
Float(Float)
A floating point value.
Bytes(Cow<'de, [u8]>)
A buffer of bytes.
Unit
A unit.
Named
A named value.
DynamicMap
A marker denoting a map with unknown length is next in the file.
DynamicEnd
A marker denoting the end of a map with unknown length.
Trait Implementations
Auto Trait Implementations
impl<'de> RefUnwindSafe for Nucleus<'de>
impl<'de> Send for Nucleus<'de>
impl<'de> Sync for Nucleus<'de>
impl<'de> Unpin for Nucleus<'de>
impl<'de> UnwindSafe for Nucleus<'de>
Blanket Implementations
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