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
impl Eq for StabilityLevel
impl Debug for StabilityLevel
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 !=
.