Enum semver_extra::IncrementLevel
source · pub enum IncrementLevel {
Patch,
Minor,
Major,
}Variants§
Trait Implementations§
source§impl Clone for IncrementLevel
impl Clone for IncrementLevel
source§fn clone(&self) -> IncrementLevel
fn clone(&self) -> IncrementLevel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for IncrementLevel
impl Debug for IncrementLevel
source§impl Default for IncrementLevel
impl Default for IncrementLevel
source§fn default() -> IncrementLevel
fn default() -> IncrementLevel
Returns the “default value” for a type. Read more
source§impl Display for IncrementLevel
impl Display for IncrementLevel
source§impl FromStr for IncrementLevel
impl FromStr for IncrementLevel
source§impl Hash for IncrementLevel
impl Hash for IncrementLevel
source§impl Ord for IncrementLevel
impl Ord for IncrementLevel
source§fn cmp(&self, other: &IncrementLevel) -> Ordering
fn cmp(&self, other: &IncrementLevel) -> Ordering
1.21.0 · 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
source§impl PartialEq for IncrementLevel
impl PartialEq for IncrementLevel
source§fn eq(&self, other: &IncrementLevel) -> bool
fn eq(&self, other: &IncrementLevel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for IncrementLevel
impl PartialOrd for IncrementLevel
source§fn partial_cmp(&self, other: &IncrementLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &IncrementLevel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl ValueEnum for IncrementLevel
impl ValueEnum for IncrementLevel
impl Copy for IncrementLevel
impl Eq for IncrementLevel
impl StructuralPartialEq for IncrementLevel
Auto Trait Implementations§
impl Freeze for IncrementLevel
impl RefUnwindSafe for IncrementLevel
impl Send for IncrementLevel
impl Sync for IncrementLevel
impl Unpin for IncrementLevel
impl UnwindSafe for IncrementLevel
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)