Struct reflection::Variant[][src]

pub struct Variant {
    pub id: Id,
    pub tyname: Name,
}

A variant definition of some enum.

Fields

Trait Implementations

impl Clone for Variant
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Variant
[src]

Formats the value using the given formatter. Read more

impl Eq for Variant
[src]

impl PartialEq for Variant
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Variant

impl Sync for Variant