pub enum Bump {
Patch,
Minor,
Major,
}Expand description
The kind of version increment between two releases, ordered
Patch < Minor < Major.
Variants§
Trait Implementations§
impl Copy for Bump
impl Eq for Bump
Source§impl Ord for Bump
impl Ord for Bump
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Bump
impl PartialOrd for Bump
impl StructuralPartialEq for Bump
Auto Trait Implementations§
impl Freeze for Bump
impl RefUnwindSafe for Bump
impl Send for Bump
impl Sync for Bump
impl Unpin for Bump
impl UnsafeUnpin for Bump
impl UnwindSafe for Bump
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