Struct runestick::Variant[][src]

pub struct Variant { /* fields omitted */ }
Expand description

The variant of a type.

Implementations

Construct a unit variant.

Construct a tuple variant.

Construct a struct variant.

Access the rtti of the variant.

Access the underlying variant data.

Access the underlying variant data mutably.

Get type info for the variant.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Convert into a value.

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.