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

pub enum Unsafety {
    Unsafe,
    Normal,
}

Variants

Unsafe
Normal

Trait Implementations

impl Display for Unsafety

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

Derived Implementations

impl Debug for Unsafety

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

impl Hash for Unsafety

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

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

impl Decodable for Unsafety

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

impl Encodable for Unsafety

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

impl Eq for Unsafety

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Unsafety

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

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

impl Clone for Unsafety

fn clone(&self) -> Unsafety

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

impl Copy for Unsafety