Struct syntax::ast::GenericParam[][src]

pub struct GenericParam {
    pub id: NodeId,
    pub ident: Ident,
    pub attrs: ThinVec<Attribute>,
    pub bounds: GenericBounds,
    pub kind: GenericParamKind,
}

Fields

Trait Implementations

impl Clone for GenericParam
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for GenericParam
[src]

impl Decodable for GenericParam
[src]

impl Debug for GenericParam
[src]

Formats the value using the given formatter. Read more

impl HasAttrs for GenericParam
[src]

Important traits for &'a [u8]

Auto Trait Implementations

impl !Send for GenericParam

impl !Sync for GenericParam