Struct syntax::attr::StabilityUnstable [-]  [+] [src]

pub struct Stability {
    pub level: StabilityLevel,
    pub text: Option<InternedString>,
}

Represents the #[deprecated="foo"] and friends attributes.

Fields

level
text

Trait Implementations

Derived Implementations

impl Show for Stability

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

impl Clone for Stability

fn clone(&self) -> Stability

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

impl Decodable for Stability

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

impl Encodable for Stability

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