Enum syntax::ast::Decl_Experimental [-]  [+] [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 Show for Decl_

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

impl<__S: Writer> Hash<__S> for Decl_

fn hash(&self, __arg_0: &mut __S)

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Decl_

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

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Decl_

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

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)