Enum pot::format::Nucleus[][src]

pub enum Nucleus<'de> {
    Boolean(bool),
    Integer(Integer),
    Float(Float),
    Bytes(Cow<'de, [u8]>),
    Unit,
    Named,
}
Expand description

A value contained within an Atom.

Variants

Boolean(bool)

Tuple Fields

0: bool

A boolean value.

Integer(Integer)

Tuple Fields

An integer value.

Float(Float)

Tuple Fields

0: Float

A floating point value.

Bytes(Cow<'de, [u8]>)

Tuple Fields

0: Cow<'de, [u8]>

A buffer of bytes.

Unit

A unit.

Named

A named value.

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.