Enum syntex_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]

Serialize a value using an Encoder.

impl Decodable for TraitItemKind
[src]

Deserialize a value using a Decoder.

impl Hash for TraitItemKind
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for TraitItemKind
[src]

Formats the value using the given formatter.