Enum alpm_sys::alpm_depmod_t
source · #[repr(u32)]pub enum alpm_depmod_t {
ALPM_DEP_MOD_ANY = 1,
ALPM_DEP_MOD_EQ = 2,
ALPM_DEP_MOD_GE = 3,
ALPM_DEP_MOD_LE = 4,
ALPM_DEP_MOD_GT = 5,
ALPM_DEP_MOD_LT = 6,
}
Expand description
Types of version constraints in dependency specs. Types of version constraints in dependency specs.
Variants§
ALPM_DEP_MOD_ANY = 1
No version constraint
ALPM_DEP_MOD_EQ = 2
Test version equality (package=x.y.z)
ALPM_DEP_MOD_GE = 3
Test for at least a version (package>=x.y.z)
ALPM_DEP_MOD_LE = 4
Test for at most a version (package<=x.y.z)
ALPM_DEP_MOD_GT = 5
Test for greater than some version (package>x.y.z)
ALPM_DEP_MOD_LT = 6
Test for less than some version (package<x.y.z)
Trait Implementations§
source§impl Clone for _alpm_depmod_t
impl Clone for _alpm_depmod_t
source§fn clone(&self) -> _alpm_depmod_t
fn clone(&self) -> _alpm_depmod_t
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 _alpm_depmod_t
impl Debug for _alpm_depmod_t
source§impl Hash for _alpm_depmod_t
impl Hash for _alpm_depmod_t
source§impl PartialEq for _alpm_depmod_t
impl PartialEq for _alpm_depmod_t
source§fn eq(&self, other: &_alpm_depmod_t) -> bool
fn eq(&self, other: &_alpm_depmod_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _alpm_depmod_t
impl Eq for _alpm_depmod_t
impl StructuralEq for _alpm_depmod_t
impl StructuralPartialEq for _alpm_depmod_t
Auto Trait Implementations§
impl RefUnwindSafe for _alpm_depmod_t
impl Send for _alpm_depmod_t
impl Sync for _alpm_depmod_t
impl Unpin for _alpm_depmod_t
impl UnwindSafe for _alpm_depmod_t
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