Enum pkgcraft::dep::spec::DepSpecKind
source · #[repr(C)]
pub enum DepSpecKind {
Enabled,
Disabled,
AllOf,
AnyOf,
ExactlyOneOf,
AtMostOneOf,
UseEnabled,
UseDisabled,
}Expand description
DepSpec variants.
Variants§
Trait Implementations§
source§impl Clone for DepSpecKind
impl Clone for DepSpecKind
source§fn clone(&self) -> DepSpecKind
fn clone(&self) -> DepSpecKind
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 DepSpecKind
impl Debug for DepSpecKind
source§impl Hash for DepSpecKind
impl Hash for DepSpecKind
source§impl Ord for DepSpecKind
impl Ord for DepSpecKind
source§fn cmp(&self, other: &DepSpecKind) -> Ordering
fn cmp(&self, other: &DepSpecKind) -> 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<DepSpecKind> for DepSpecKind
impl PartialEq<DepSpecKind> for DepSpecKind
source§fn eq(&self, other: &DepSpecKind) -> bool
fn eq(&self, other: &DepSpecKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<DepSpecKind> for DepSpecKind
impl PartialOrd<DepSpecKind> for DepSpecKind
source§fn partial_cmp(&self, other: &DepSpecKind) -> Option<Ordering>
fn partial_cmp(&self, other: &DepSpecKind) -> Option<Ordering>
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 moreimpl Eq for DepSpecKind
impl StructuralEq for DepSpecKind
impl StructuralPartialEq for DepSpecKind
Auto Trait Implementations§
impl RefUnwindSafe for DepSpecKind
impl Send for DepSpecKind
impl Sync for DepSpecKind
impl Unpin for DepSpecKind
impl UnwindSafe for DepSpecKind
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more