Enum syntex_syntax::ast::Mutability [] [src]

pub enum Mutability {
    MutMutable,
    MutImmutable,
}

Variants

MutMutable
MutImmutable

Trait Implementations

Derived Implementations

impl Copy for Mutability

impl Debug for Mutability

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

impl Hash for Mutability

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

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

impl Decodable for Mutability

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

impl Encodable for Mutability

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

impl Eq for Mutability

impl PartialEq for Mutability

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

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

impl Clone for Mutability

fn clone(&self) -> Mutability

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