pub enum Nucleus<'de> {
Boolean(bool),
Integer(Integer),
Float(Float),
Bytes(BufferedBytes<'de>),
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(BufferedBytes<'de>)
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> Freeze for Nucleus<'de>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more