Enum nreplops_tool::version::Version
source · pub enum Version {
Major(u16),
MajorMinor(u16, u16),
MajorMinorPatch(u16, u16, u16),
}Variants§
Implementations§
source§impl Version
impl Version
pub fn next_breaking(&self) -> Self
pub fn cmp_to_range(&self, range: &VersionRange) -> Ordering
Trait Implementations§
source§impl PartialOrd for Version
impl PartialOrd for Version
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 moreAuto Trait Implementations§
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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