Enum pkgcraft::dep::spec::DepSetKind
source · #[repr(C)]pub enum DepSetKind {
Dependencies = 0,
SrcUri = 1,
License = 2,
Properties = 3,
RequiredUse = 4,
Restrict = 5,
}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 Default for DepSetKind
impl Default for DepSetKind
source§fn default() -> DepSetKind
fn default() -> DepSetKind
Returns the “default value” for a type. Read more
source§impl Hash for DepSetKind
impl Hash for DepSetKind
source§impl PartialEq for DepSetKind
impl PartialEq 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 ==.impl Copy for DepSetKind
impl 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<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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.