Enum syntax::ast::GenericArg[][src]

pub enum GenericArg {
    Lifetime(Lifetime),
    Type(P<Ty>),
}

Variants

Trait Implementations

impl Clone for GenericArg
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl Encodable for GenericArg
[src]

impl Decodable for GenericArg
[src]

impl Hash for GenericArg
[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 GenericArg
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for GenericArg

impl !Sync for GenericArg