Struct syntex_syntax::attr::Deprecation [] [src]

pub struct Deprecation {
    pub since: InternedString,
    pub reason: InternedString,
}

Fields

since
reason

Trait Implementations

Derived Implementations

impl Hash for Deprecation

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

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

impl Eq for Deprecation

impl Debug for Deprecation

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

impl Clone for Deprecation

fn clone(&self) -> Deprecation

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

impl PartialOrd for Deprecation

fn partial_cmp(&self, __arg_0: &Deprecation) -> Option<Ordering>

fn lt(&self, __arg_0: &Deprecation) -> bool

fn le(&self, __arg_0: &Deprecation) -> bool

fn gt(&self, __arg_0: &Deprecation) -> bool

fn ge(&self, __arg_0: &Deprecation) -> bool

impl PartialEq for Deprecation

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

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

impl Decodable for Deprecation

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

impl Encodable for Deprecation

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