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 PartialEq for GenericParamKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for GenericParamKind
[src]

impl Encodable for GenericParamKind
[src]

impl Decodable for GenericParamKind
[src]

impl Hash for GenericParamKind
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for GenericParamKind
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations