pub enum Special {
    None,
    Unit,
    False,
    True,
    Named,
    DynamicMap,
    DynamicEnd,
}
Expand description

A special value type.

Variants

None

A None value.

Unit

A Unit value.

False

The false boolean literal.

True

The true boolean literal.

Named

A named value. A symbol followed by another value.

DynamicMap

A sequence of key-value pairs with an unknown length.

DynamicEnd

A terminal value for a Self::DynamicMap.

Trait Implementations

The type returned in the event of a conversion error.

Performs the conversion.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.