[][src]Enum alpm_sys::alpm_depmod_t

#[repr(u32)]pub enum alpm_depmod_t {
    ALPM_DEP_MOD_ANY,
    ALPM_DEP_MOD_EQ,
    ALPM_DEP_MOD_GE,
    ALPM_DEP_MOD_LE,
    ALPM_DEP_MOD_GT,
    ALPM_DEP_MOD_LT,
}

Types of version constraints in dependency specs.

Variants

ALPM_DEP_MOD_ANY

No version constraint

ALPM_DEP_MOD_EQ

Test version equality (package=x.y.z)

ALPM_DEP_MOD_GE

Test for at least a version (package>=x.y.z)

ALPM_DEP_MOD_LE

Test for at most a version (package<=x.y.z)

ALPM_DEP_MOD_GT

Test for greater than some version (package>x.y.z)

ALPM_DEP_MOD_LT

Test for less than some version (package<x.y.z)

Trait Implementations

impl Clone for _alpm_depmod_t[src]

impl Copy for _alpm_depmod_t[src]

impl Debug for _alpm_depmod_t[src]

impl Eq for _alpm_depmod_t[src]

impl Hash for _alpm_depmod_t[src]

impl PartialEq<_alpm_depmod_t> for _alpm_depmod_t[src]

impl StructuralEq for _alpm_depmod_t[src]

impl StructuralPartialEq for _alpm_depmod_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.