pub enum DepKind {
Library,
Contract {
salt: Salt,
},
}
Variants§
Library
The dependency is a library and declared under [dependencies]
.
Contract
Fields
§
salt: Salt
The dependency is a contract and declared under [contract-dependencies]
.
Trait Implementations§
source§impl PartialEq<DepKind> for DepKind
impl PartialEq<DepKind> for DepKind
impl Eq for DepKind
impl StructuralEq for DepKind
impl StructuralPartialEq for DepKind
Auto Trait Implementations§
impl RefUnwindSafe for DepKind
impl Send for DepKind
impl Sync for DepKind
impl Unpin for DepKind
impl UnwindSafe for DepKind
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