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

pub struct TyParam {
    pub name: String,
    pub did: DefId,
    pub bounds: Vec<TyParamBound>,
    pub default: Option<Type>,
}

Fields

name
did
bounds
default

Trait Implementations

Derived Implementations

impl Debug for TyParam

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

impl PartialEq for TyParam

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

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

impl Decodable for TyParam

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

impl Encodable for TyParam

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

impl Clone for TyParam

fn clone(&self) -> TyParam

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