VariantAttribute

Type Alias VariantAttribute 

Source
type VariantAttribute = FieldConversion;
Expand description

Representation of a From derive macro enum variant attribute.

#[from]
#[from(skip)] #[from(ignore)]
#[from(forward)]
#[from(<types>)]

Aliased Type§

enum VariantAttribute {
    Empty(Empty),
    Skip(Skip),
    Forward(Forward),
    Types(Types),
}

Variants§

§

Empty(Empty)

§

Skip(Skip)

§

Forward(Forward)

§

Types(Types)