Struct pot::format::Atom[][src]

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.