Enum syntax::ast::Decl_Unstable [-] [+] [src]

pub enum Decl_ {
    DeclLocal(P<Local>),
    DeclItem(P<Item>),
}

Variants

DeclLocal

A local (let) binding:

DeclItem

An item binding:

Trait Implementations

Derived Implementations

impl Debug for Decl_

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

impl Hash for Decl_

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

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

impl Decodable for Decl_

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

impl Encodable for Decl_

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

impl Eq for Decl_

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Decl_

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

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

impl Clone for Decl_

fn clone(&self) -> Decl_

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