pub enum VersionConstraint {
LessThan,
LessThanEqual,
Equal,
GreaterThan,
GreaterThanEqual,
}
Expand description
Constraint on a Debian package version.
Variants§
Trait Implementations§
Source§impl Clone for VersionConstraint
impl Clone for VersionConstraint
Source§fn clone(&self) -> VersionConstraint
fn clone(&self) -> VersionConstraint
Returns a duplicate 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 VersionConstraint
impl Debug for VersionConstraint
Source§impl Display for VersionConstraint
impl Display for VersionConstraint
Source§impl FromStr for VersionConstraint
impl FromStr for VersionConstraint
Source§impl Hash for VersionConstraint
impl Hash for VersionConstraint
Source§impl Ord for VersionConstraint
impl Ord for VersionConstraint
Source§fn cmp(&self, other: &VersionConstraint) -> Ordering
fn cmp(&self, other: &VersionConstraint) -> 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 VersionConstraint
impl PartialEq for VersionConstraint
Source§impl PartialOrd for VersionConstraint
impl PartialOrd for VersionConstraint
impl Eq for VersionConstraint
impl StructuralPartialEq for VersionConstraint
Auto Trait Implementations§
impl Freeze for VersionConstraint
impl RefUnwindSafe for VersionConstraint
impl Send for VersionConstraint
impl Sync for VersionConstraint
impl Unpin for VersionConstraint
impl UnwindSafe for VersionConstraint
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