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

pub enum BindingMode {
    BindByRef(Mutability),
    BindByValue(Mutability),
}

Variants

BindByRef
BindByValue

Trait Implementations

Derived Implementations

impl Copy for BindingMode

impl Debug for BindingMode

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

impl Hash for BindingMode

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

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

impl Decodable for BindingMode

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

impl Encodable for BindingMode

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

impl Eq for BindingMode

fn assert_receiver_is_total_eq(&self)

impl PartialEq for BindingMode

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

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

impl Clone for BindingMode

fn clone(&self) -> BindingMode

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