Struct rustdoc::clean::VariantStruct [] [src]

pub struct VariantStruct {
    pub struct_type: StructType,
    pub fields: Vec<Item>,
    pub fields_stripped: bool,
}
🔬 This is a nightly-only experimental API. (rustdoc)

This is a more limited form of the standard Struct, different in that it lacks the things most items have (name, id, parameterization). Found only as a variant in an enum.

Fields

🔬 This is a nightly-only experimental API. (rustdoc)
🔬 This is a nightly-only experimental API. (rustdoc)
🔬 This is a nightly-only experimental API. (rustdoc)

Trait Implementations

impl Clone for VariantStruct
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for VariantStruct
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

impl Decodable for VariantStruct
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

impl Debug for VariantStruct
[src]

Formats the value using the given formatter.