Enum syntax::attr::StabilityLevel [−][src]
pub enum StabilityLevel {
Unstable {
reason: Option<Symbol>,
issue: u32,
},
Stable {
since: Symbol,
},
}The available stability levels.
Variants
UnstableFields of Unstable
reason: Option<Symbol> | |
issue: u32 |
StableFields of Stable
since: Symbol |
Methods
impl StabilityLevel[src]
impl StabilityLevelTrait Implementations
impl Encodable for StabilityLevel[src]
impl Encodable for StabilityLevelimpl Decodable for StabilityLevel[src]
impl Decodable for StabilityLevelimpl 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: &StabilityLevel) -> bool[src]
fn ne(&self, other: &StabilityLevel) -> 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: &StabilityLevel) -> bool[src]
fn lt(&self, other: &StabilityLevel) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &StabilityLevel) -> bool[src]
fn le(&self, other: &StabilityLevel) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &StabilityLevel) -> bool[src]
fn gt(&self, other: &StabilityLevel) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &StabilityLevel) -> bool[src]
fn ge(&self, other: &StabilityLevel) -> 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 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 StabilityLevelimpl 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