pub struct Atom<'de> {
pub kind: Kind,
pub arg: u64,
pub nucleus: Option<Nucleus<'de>>,
}
Expand description
An encoded Kind
, argument, and optional contained value.
Fields§
§kind: Kind
The type of atom.
arg: u64
The argument contained in the atom header.
nucleus: Option<Nucleus<'de>>
The contained value, if any.
Trait Implementations§
Auto Trait Implementations§
impl<'de> Freeze for Atom<'de>
impl<'de> RefUnwindSafe for Atom<'de>
impl<'de> Send for Atom<'de>
impl<'de> Sync for Atom<'de>
impl<'de> Unpin for Atom<'de>
impl<'de> UnwindSafe for Atom<'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