Enum rustc::middle::stability::StabilityLevel [−][src]
pub enum StabilityLevel {
Unstable,
Stable,
}🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Variants
Unstable🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Stable🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Methods
impl StabilityLevel[src]
impl StabilityLevelpub fn from_attr_level(level: &StabilityLevel) -> Self[src]
pub fn from_attr_level(level: &StabilityLevel) -> Self🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl Encodable for StabilityLevel[src]
impl Encodable for StabilityLevelfn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
impl Decodable for StabilityLevel[src]
impl Decodable for StabilityLevelfn decode<__D: Decoder>(d: &mut __D) -> Result<StabilityLevel, __D::Error>[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<StabilityLevel, __D::Error>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
impl PartialEq for StabilityLevel[src]
impl PartialEq for StabilityLevelfn eq(&self, other: &StabilityLevel) -> bool[src]
fn eq(&self, other: &StabilityLevel) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl PartialOrd for StabilityLevel[src]
impl PartialOrd for StabilityLevelfn partial_cmp(&self, other: &StabilityLevel) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &StabilityLevel) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
fn lt(&self, other: &Rhs) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0[src]
fn le(&self, other: &Rhs) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
fn gt(&self, other: &Rhs) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
fn ge(&self, other: &Rhs) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Clone for StabilityLevel[src]
impl Clone for StabilityLevelfn clone(&self) -> StabilityLevel[src]
fn clone(&self) -> StabilityLevelReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Copy for StabilityLevel[src]
impl Copy for StabilityLevelimpl Debug for StabilityLevel[src]
impl Debug for StabilityLevelfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for StabilityLevel[src]
impl Eq for StabilityLevelfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl Hash for StabilityLevel[src]
impl Hash for StabilityLevelAuto Trait Implementations
impl Send for StabilityLevel
impl Send for StabilityLevelimpl Sync for StabilityLevel
impl Sync for StabilityLevel