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

pub enum TraitItemKind {
    Const(P<Ty>, Option<P<Expr>>),
    Method(MethodSigOption<P<Block>>),
    Type(GenericBoundsOption<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 Encodable for TraitItemKind
[src]

impl Decodable for TraitItemKind
[src]

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