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 StabilityLevel
pub 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 StabilityLevel
fn 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 StabilityLevel
fn 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 StabilityLevel
fn eq(&self, other: &StabilityLevel) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl PartialOrd for StabilityLevel
[src]
impl PartialOrd for StabilityLevel
fn 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) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This 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 StabilityLevel
fn clone(&self) -> StabilityLevel
[src]
fn clone(&self) -> StabilityLevel
Returns 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 StabilityLevel
impl Debug for StabilityLevel
[src]
impl Debug for StabilityLevel
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for StabilityLevel
[src]
impl Eq for StabilityLevel
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl Hash for StabilityLevel
[src]
impl Hash for StabilityLevel
Auto Trait Implementations
impl Send for StabilityLevel
impl Send for StabilityLevel
impl Sync for StabilityLevel
impl Sync for StabilityLevel