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 VariantStruct
fn clone(&self) -> VariantStruct
[src]
fn clone(&self) -> VariantStruct
Returns 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 VariantStruct
fn 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 VariantStruct
fn 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 VariantStruct
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clean<VariantStruct> for VariantData
[src]
impl Clean<VariantStruct> for VariantData
fn clean(&self, cx: &DocContext) -> VariantStruct
[src]
fn clean(&self, cx: &DocContext) -> VariantStruct
Auto Trait Implementations
impl !Send for VariantStruct
impl !Send for VariantStruct
impl !Sync for VariantStruct
impl !Sync for VariantStruct