Struct rustdoc::clean::Trait [] [src]

pub struct Trait {
    pub unsafety: Unsafety,
    pub items: Vec<Item>,
    pub generics: Generics,
    pub bounds: Vec<TyParamBound>,
}
Unstable (rustdoc)

Fields

unsafety: Unsafety
Unstable (rustdoc)
items: Vec<Item>
Unstable (rustdoc)
generics: Generics
Unstable (rustdoc)
bounds: Vec<TyParamBound>
Unstable (rustdoc)

Trait Implementations

Derived Implementations

impl Debug for Trait
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Decodable for Trait
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Trait, __D::Error>

impl Encodable for Trait
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Clone for Trait
[src]

fn clone(&self) -> Trait

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more