Enum rustc_lint::middle::stability::StabilityLevel [] [src]

pub enum StabilityLevel {
    Unstable,
    Stable,
}
Unstable (rustc_private)

Variants

Unstable
Unstable (rustc_private)
Stable
Unstable (rustc_private)

Methods

impl StabilityLevel

fn from_attr_level(level: &StabilityLevel) -> StabilityLevel

Trait Implementations

Derived Implementations

impl Hash for StabilityLevel

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

impl Eq for StabilityLevel

impl Debug for StabilityLevel

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

impl Copy for StabilityLevel

impl Clone for StabilityLevel

fn clone(&self) -> StabilityLevel

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl PartialOrd<StabilityLevel> for StabilityLevel

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

impl PartialEq<StabilityLevel> for StabilityLevel

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

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Decodable for StabilityLevel

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

impl Encodable for StabilityLevel

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