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

pub enum Nucleus<'de> {
    Integer(Integer),
    Float(Float),
    Bytes(&'de [u8]),
}
Expand description

A value contained within an Atom.

Variants

Integer(Integer)

An integer value.

Tuple Fields of Integer

0: Integer
Float(Float)

A floating point value.

Tuple Fields of Float

0: Float
Bytes(&'de [u8])

A buffer of bytes.

Tuple Fields of Bytes

0: &'de [u8]

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.