pub enum VersionComparison {
Greater,
Less,
Equal,
}Expand description
Version comparison result Define an enumeration for version comparison
Variants§
Trait Implementations§
Source§impl Clone for VersionComparison
impl Clone for VersionComparison
Source§fn clone(&self) -> VersionComparison
fn clone(&self) -> VersionComparison
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 VersionComparison
impl Debug for VersionComparison
Source§impl Ord for VersionComparison
impl Ord for VersionComparison
Source§fn cmp(&self, other: &VersionComparison) -> Ordering
fn cmp(&self, other: &VersionComparison) -> 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 VersionComparison
impl PartialEq for VersionComparison
Source§impl PartialOrd for VersionComparison
impl PartialOrd for VersionComparison
impl Eq for VersionComparison
impl StructuralPartialEq for VersionComparison
Auto Trait Implementations§
impl Freeze for VersionComparison
impl RefUnwindSafe for VersionComparison
impl Send for VersionComparison
impl Sync for VersionComparison
impl Unpin for VersionComparison
impl UnwindSafe for VersionComparison
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