pub enum Stability {
Unknown,
Stable,
Experimental,
Debug,
Deprecated,
}Expand description
How much a consumer may rely on a variable.
Deprecated must be paired with a Deprecation; crate::Input::check
enforces that, so an entry can never be half-deprecated.
Variants§
Unknown
Not yet classified. The honest default for a freshly harvested name.
Stable
Safe to depend on; changes follow the project’s compatibility policy.
Experimental
May change or vanish without notice.
Debug
Diagnostic knob. Present in shipped builds, but not a supported interface.
Deprecated
Scheduled for removal; see Deprecation for the migration path.
Implementations§
Trait Implementations§
impl Copy for Stability
impl Eq for Stability
impl StructuralPartialEq for Stability
Auto Trait Implementations§
impl Forget for Stability
impl Freeze for Stability
impl Move for Stability
impl RefUnwindSafe for Stability
impl Send for Stability
impl Sync for Stability
impl Unpin for Stability
impl UnsafeUnpin for Stability
impl UnwindSafe for Stability
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more