Struct rustdoc::clean::Variant [] [src]

pub struct Variant {
    pub kind: VariantKind,
}
Unstable (rustdoc)

Fields

kind: VariantKind
Unstable (rustdoc)

Trait Implementations

Derived Implementations

impl Debug for Variant
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Decodable for Variant
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Variant, __D::Error>

impl Encodable for Variant
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Clone for Variant
[src]

fn clone(&self) -> Variant

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more