Struct rustdoc::clean::Generics [] [src]

pub struct Generics {
    pub lifetimes: Vec<Lifetime>,
    pub type_params: Vec<TyParam>,
    pub where_predicates: Vec<WherePredicate>,
}
Unstable (rustdoc)

Fields

lifetimes: Vec<Lifetime>
Unstable (rustdoc)
type_params: Vec<TyParam>
Unstable (rustdoc)
where_predicates: Vec<WherePredicate>
Unstable (rustdoc)

Trait Implementations

impl Display for Generics
[src]

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

Formats the value using the given formatter.

Derived Implementations

impl Debug for Generics
[src]

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

Formats the value using the given formatter.

impl PartialEq for Generics
[src]

fn eq(&self, __arg_0: &Generics) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Generics) -> bool

This method tests for !=.

impl Decodable for Generics
[src]

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

impl Encodable for Generics
[src]

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

impl Clone for Generics
[src]

fn clone(&self) -> Generics

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