pub enum Stability {
Dev,
Alpha,
Beta,
RC,
Stable,
}Expand description
Stability levels in Composer semver, ordered from least to most stable. The ordering matters for comparison.
Variants§
Implementations§
Source§impl Stability
impl Stability
Sourcepub fn parse(s: &str) -> Option<Self>
pub fn parse(s: &str) -> Option<Self>
Parse stability from string, handling short forms (a, b, p, pl, rc). Returns None if the string doesn’t match a known stability.
Trait Implementations§
Source§impl Ord for Stability
impl Ord for Stability
Source§impl PartialOrd for Stability
impl PartialOrd for Stability
impl Copy for Stability
impl Eq for Stability
impl StructuralPartialEq for Stability
Auto Trait Implementations§
impl Freeze for Stability
impl RefUnwindSafe for Stability
impl Send for Stability
impl Sync for Stability
impl Unpin 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