Struct rustdoc::clean::GenericsUnstable [-] [+] [src]

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

Fields

lifetimes
type_params
where_predicates

Trait Implementations

impl Display for Generics

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

Derived Implementations

impl Debug for Generics

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

impl PartialEq for Generics

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

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

impl Decodable for Generics

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

impl Encodable for Generics

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

impl Clone for Generics

fn clone(&self) -> Generics

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