Enum syntax::ast::TraitItemKind  [−][src]
pub enum TraitItemKind {
    Const(P<Ty>, Option<P<Expr>>),
    Method(MethodSig, Option<P<Block>>),
    Type(TyParamBounds, Option<P<Ty>>),
    Macro(Mac),
}Variants
Const(P<Ty>, Option<P<Expr>>)Method(MethodSig, Option<P<Block>>)Type(TyParamBounds, Option<P<Ty>>)Macro(Mac)
                Trait Implementations
impl Clone for TraitItemKind[src] 
impl Clone for TraitItemKindfn clone(&self) -> TraitItemKind[src] 
fn clone(&self) -> TraitItemKindReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src] 
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for TraitItemKind[src] 
impl PartialEq for TraitItemKindfn eq(&self, other: &TraitItemKind) -> bool[src] 
fn eq(&self, other: &TraitItemKind) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &TraitItemKind) -> bool[src] 
fn ne(&self, other: &TraitItemKind) -> boolThis method tests for !=.
impl Eq for TraitItemKind[src] 
impl Eq for TraitItemKindimpl Encodable for TraitItemKind[src] 
impl Encodable for TraitItemKindimpl Decodable for TraitItemKind[src] 
impl Decodable for TraitItemKindimpl Hash for TraitItemKind[src] 
impl Hash for TraitItemKindfn hash<__H: Hasher>(&self, state: &mut __H)[src] 
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, 1.3.0[src] 
fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for TraitItemKind[src] 
impl Debug for TraitItemKindAuto Trait Implementations
impl !Send for TraitItemKind
impl !Send for TraitItemKindimpl !Sync for TraitItemKind
impl !Sync for TraitItemKind