Enum syntax::attr::StabilityLevel [−][src]
pub enum StabilityLevel { Unstable { reason: Option<Symbol>, issue: u32, }, Stable { since: Symbol, }, }
The available stability levels.
Variants
Unstable
Fields of Unstable
reason: Option<Symbol> | |
issue: u32 |
Stable
Fields of Stable
since: Symbol |
Methods
impl StabilityLevel
[src]
impl StabilityLevel
Trait Implementations
impl Encodable for StabilityLevel
[src]
impl Encodable for StabilityLevel
impl Decodable for StabilityLevel
[src]
impl Decodable for StabilityLevel
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: &StabilityLevel) -> bool
[src]
fn ne(&self, other: &StabilityLevel) -> 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: &StabilityLevel) -> bool
[src]
fn lt(&self, other: &StabilityLevel) -> bool
This 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) -> 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: &StabilityLevel) -> bool
[src]
fn gt(&self, other: &StabilityLevel) -> bool
This 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) -> 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 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
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