Enum syntex_syntax::ast::BindingMode [] [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, __D::Error>

impl Encodable for BindingMode

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

impl Eq for BindingMode

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)