Struct syntex_syntax::ast::TyParam [] [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 Debug for TyParam

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

impl Hash for TyParam

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for TyParam

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

impl Encodable for TyParam

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

impl Eq for TyParam

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)