Enum syntex_syntax::ast::ImplItemKind [] [src]

pub enum ImplItemKind {
    Const(P<Ty>, P<Expr>),
    Method(MethodSig, P<Block>),
    Type(P<Ty>),
    Macro(Mac),
}

Variants

Const
Method
Type
Macro

Trait Implementations

Derived Implementations

impl Debug for ImplItemKind

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for ImplItemKind

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for ImplItemKind

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<ImplItemKind, __D::Error>

impl Encodable for ImplItemKind

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Eq for ImplItemKind

impl PartialEq for ImplItemKind

fn eq(&self, __arg_0: &ImplItemKind) -> bool

fn ne(&self, __arg_0: &ImplItemKind) -> bool

impl Clone for ImplItemKind

fn clone(&self) -> ImplItemKind

fn clone_from(&mut self, source: &Self)