Enum rustc_attr::StabilityLevel [−][src]
pub enum StabilityLevel {
Unstable {
reason: Option<Symbol>,
issue: Option<NonZeroU32>,
is_soft: bool,
},
Stable {
since: Symbol,
},
}
Expand description
The available stability levels.
Variants
Fields of Unstable
Fields of Stable
since: Symbol
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StabilityLevel
impl Send for StabilityLevel
impl Sync for StabilityLevel
impl Unpin for StabilityLevel
impl UnwindSafe for StabilityLevel
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 12 bytes
Size for each variant:
Unstable
: 11 bytesStable
: 7 bytes