Struct rustdoc::clean::Trait [−][src]
pub struct Trait {
pub auto: bool,
pub unsafety: Unsafety,
pub items: Vec<Item>,
pub generics: Generics,
pub bounds: Vec<TyParamBound>,
pub is_spotlight: bool,
pub is_auto: bool,
}Fields
auto: bool
unsafety: Unsafety
items: Vec<Item>
generics: Generics
bounds: Vec<TyParamBound>
is_spotlight: bool
is_auto: bool
Trait Implementations
impl Clone for Trait[src]
impl Clone for Traitfn clone(&self) -> Trait[src]
fn clone(&self) -> TraitReturns 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 Trait[src]
impl Encodable for Traitfn 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 Trait[src]
impl Decodable for Traitfn decode<__D: Decoder>(d: &mut __D) -> Result<Trait, __D::Error>[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<Trait, __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 Trait[src]
impl Debug for Trait