Struct syntex_syntax::attr::Stability [] [src]

pub struct Stability {
    pub level: StabilityLevel,
    pub feature: InternedString,
    pub rustc_depr: Option<RustcDeprecation>,
}

Represents the #[stable], #[unstable] and #[rustc_deprecated] attributes.

Fields

Trait Implementations

impl Encodable for Stability
[src]

Serialize a value using an Encoder.

impl Decodable for Stability
[src]

Deserialize a value using a Decoder.

impl Clone for Stability
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Stability
[src]

Formats the value using the given formatter.

impl PartialEq for Stability
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Stability
[src]

impl Hash for Stability
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.