Enum syntex_syntax::ast::UnsafeSource [] [src]

pub enum UnsafeSource {
    CompilerGenerated,
    UserProvided,
}

Variants

CompilerGenerated
UserProvided

Trait Implementations

Derived Implementations

impl Copy for UnsafeSource

impl Debug for UnsafeSource

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

impl Hash for UnsafeSource

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

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

impl Decodable for UnsafeSource

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

impl Encodable for UnsafeSource

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

impl Eq for UnsafeSource

impl PartialEq for UnsafeSource

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

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

impl Clone for UnsafeSource

fn clone(&self) -> UnsafeSource

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