Struct rustdoc::clean::Struct [−][src]
pub struct Struct {
pub struct_type: StructType,
pub generics: Generics,
pub fields: Vec<Item>,
pub fields_stripped: bool,
}Fields
struct_type: StructType
generics: Generics
fields: Vec<Item>
fields_stripped: bool
Trait Implementations
impl Clone for Struct[src]
impl Clone for Structfn clone(&self) -> Struct[src]
fn clone(&self) -> StructReturns 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 Struct[src]
impl Encodable for Structfn 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 Struct[src]
impl Decodable for Structfn decode<__D: Decoder>(d: &mut __D) -> Result<Struct, __D::Error>[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<Struct, __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 Struct[src]
impl Debug for Struct