Enum pkgcraft::dep::spec::DepSetKind
source · #[repr(C)]
pub enum DepSetKind {
Dependencies,
Restrict,
RequiredUse,
Properties,
SrcUri,
License,
}Expand description
DepSet variants.
Variants§
Trait Implementations§
source§impl Clone for DepSetKind
impl Clone for DepSetKind
source§fn clone(&self) -> DepSetKind
fn clone(&self) -> DepSetKind
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 DepSetKind
impl Debug for DepSetKind
source§impl Hash for DepSetKind
impl Hash for DepSetKind
source§impl Ord for DepSetKind
impl Ord for DepSetKind
source§fn cmp(&self, other: &DepSetKind) -> Ordering
fn cmp(&self, other: &DepSetKind) -> 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<DepSetKind> for DepSetKind
impl PartialEq<DepSetKind> for DepSetKind
source§fn eq(&self, other: &DepSetKind) -> bool
fn eq(&self, other: &DepSetKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<DepSetKind> for DepSetKind
impl PartialOrd<DepSetKind> for DepSetKind
source§fn partial_cmp(&self, other: &DepSetKind) -> Option<Ordering>
fn partial_cmp(&self, other: &DepSetKind) -> 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 DepSetKind
impl StructuralEq for DepSetKind
impl StructuralPartialEq for DepSetKind
Auto Trait Implementations§
impl RefUnwindSafe for DepSetKind
impl Send for DepSetKind
impl Sync for DepSetKind
impl Unpin for DepSetKind
impl UnwindSafe for DepSetKind
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