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

pub struct VariantStruct {
    pub struct_type: StructType,
    pub fields: Vec<Item>,
    pub fields_stripped: bool,
}

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

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)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

impl Decodable for VariantStruct
[src]

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

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

impl Debug for VariantStruct
[src]

Formats the value using the given formatter. Read more

impl Clean<VariantStruct> for VariantData
[src]

Auto Trait Implementations

impl !Send for VariantStruct

impl !Sync for VariantStruct