Enum syntax::attr::StabilityLevelUnstable [-] [+] [src]

pub enum StabilityLevel {
    Unstable,
    Stable,
}

The available stability levels.

Variants

Unstable
Stable

Trait Implementations

impl Display for StabilityLevel

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

Derived Implementations

impl Copy for StabilityLevel

impl Debug for StabilityLevel

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

impl Clone for StabilityLevel

fn clone(&self) -> StabilityLevel

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

impl PartialOrd for StabilityLevel

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

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

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

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

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

impl PartialEq for StabilityLevel

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

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

impl Decodable for StabilityLevel

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

impl Encodable for StabilityLevel

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