Struct syntax::ast::TyParam[src]

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

Fields

ident
id
sized
bounds
default
span

Trait Implementations

Derived Implementations

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

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

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for TyParam

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

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for TyParam

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

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)