Enum syntax::ast::TraitItemKind[][src]

pub enum TraitItemKind {
    Const(P<Ty>, Option<P<Expr>>),
    Method(MethodSigOption<P<Block>>),
    Type(TyParamBoundsOption<P<Ty>>),
    Macro(Mac),
}

Variants

Trait Implementations

impl Clone for TraitItemKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl Encodable for TraitItemKind
[src]

impl Decodable for TraitItemKind
[src]

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for TraitItemKind

impl !Sync for TraitItemKind