Enum syntax::ast::GenericParamKind[][src]

pub enum GenericParamKind {
    Lifetime,
    Type {
        default: Option<P<Ty>>,
    },
}

Variants

A lifetime definition, e.g. 'a: 'b+'c+'d.

Fields of Type

Trait Implementations

impl Clone for GenericParamKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for GenericParamKind
[src]

impl Decodable for GenericParamKind
[src]

impl Debug for GenericParamKind
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations