Enum reflect::Variant [] [src]

pub enum Variant<T> {
    Unit(UnitVariant),
    Tuple(TupleVariant<T>),
    Struct(StructVariant<T>),
}

Variants

Trait Implementations

impl<T: Debug> Debug for Variant<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Clone> Clone for Variant<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> Send for Variant<T> where
    T: Send

impl<T> Sync for Variant<T> where
    T: Sync