Enum pkgcraft::dep::spec::DepSetWrapper
source · pub enum DepSetWrapper {
Dep(DepSet<Dep>),
String(DepSet<String>),
Uri(DepSet<Uri>),
}Expand description
Opaque wrapper for pkgcraft::dep::DepSet.
Variants§
Trait Implementations§
source§impl Clone for DepSetWrapper
impl Clone for DepSetWrapper
source§fn clone(&self) -> DepSetWrapper
fn clone(&self) -> DepSetWrapper
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 DepSetWrapper
impl Debug for DepSetWrapper
source§impl Display for DepSetWrapper
impl Display for DepSetWrapper
source§impl Hash for DepSetWrapper
impl Hash for DepSetWrapper
source§impl PartialEq<DepSetWrapper> for DepSetWrapper
impl PartialEq<DepSetWrapper> for DepSetWrapper
source§fn eq(&self, other: &DepSetWrapper) -> bool
fn eq(&self, other: &DepSetWrapper) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for DepSetWrapper
impl StructuralEq for DepSetWrapper
impl StructuralPartialEq for DepSetWrapper
Auto Trait Implementations§
impl RefUnwindSafe for DepSetWrapper
impl Send for DepSetWrapper
impl Sync for DepSetWrapper
impl Unpin for DepSetWrapper
impl UnwindSafe for DepSetWrapper
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