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
struct_type: StructType
fields: Vec<Item>
fields_stripped: bool
Trait Implementations
impl Clone for VariantStruct[src]
impl Clone for VariantStructfn clone(&self) -> VariantStruct[src]
fn clone(&self) -> VariantStructReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Encodable for VariantStruct[src]
impl Encodable for VariantStructfn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>🔬 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]
impl Decodable for VariantStructfn decode<__D: Decoder>(d: &mut __D) -> Result<VariantStruct, __D::Error>[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<VariantStruct, __D::Error>🔬 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]
impl Debug for VariantStructfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clean<VariantStruct> for VariantData[src]
impl Clean<VariantStruct> for VariantDatafn clean(&self, cx: &DocContext) -> VariantStruct[src]
fn clean(&self, cx: &DocContext) -> VariantStructAuto Trait Implementations
impl !Send for VariantStruct
impl !Send for VariantStructimpl !Sync for VariantStruct
impl !Sync for VariantStruct