Struct syntax::ast::TyParamUnstable [-]  [+] [src]

pub struct TyParam {
    pub ident: Ident,
    pub id: NodeId,
    pub bounds: TyParamBounds,
    pub default: Option<P<Ty>>,
    pub span: Span,
}

Fields

ident
id
bounds
default
span

Trait Implementations

Derived Implementations

impl Show for TyParam

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

impl<__S: Writer + Hasher> Hash<__S> for TyParam

fn hash(&self, __arg_0: &mut __S)

impl Decodable for TyParam

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

impl Encodable for TyParam

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

impl Eq for TyParam

fn assert_receiver_is_total_eq(&self)

impl PartialEq for TyParam

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

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

impl Clone for TyParam

fn clone(&self) -> TyParam

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