pub enum ResolutionKeyDomain {
Declaration,
Module,
Package,
}Expand description
Closed target-identity families used by canonical resolution keys.
Variants§
Declaration
A declaration, value, type, or other named source symbol.
Module
A source module, namespace, or importable file identity.
Package
A package or manifest dependency identity.
Implementations§
Trait Implementations§
Source§impl Clone for ResolutionKeyDomain
impl Clone for ResolutionKeyDomain
Source§fn clone(&self) -> ResolutionKeyDomain
fn clone(&self) -> ResolutionKeyDomain
Returns a duplicate 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 ResolutionKeyDomain
impl Debug for ResolutionKeyDomain
Source§impl<'de> Deserialize<'de> for ResolutionKeyDomain
impl<'de> Deserialize<'de> for ResolutionKeyDomain
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ResolutionKeyDomain
impl Hash for ResolutionKeyDomain
Source§impl Ord for ResolutionKeyDomain
impl Ord for ResolutionKeyDomain
Source§fn cmp(&self, other: &ResolutionKeyDomain) -> Ordering
fn cmp(&self, other: &ResolutionKeyDomain) -> 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 for ResolutionKeyDomain
impl PartialEq for ResolutionKeyDomain
Source§impl PartialOrd for ResolutionKeyDomain
impl PartialOrd for ResolutionKeyDomain
Source§impl Serialize for ResolutionKeyDomain
impl Serialize for ResolutionKeyDomain
Source§impl TryFrom<&str> for ResolutionKeyDomain
impl TryFrom<&str> for ResolutionKeyDomain
impl Copy for ResolutionKeyDomain
impl Eq for ResolutionKeyDomain
impl StructuralPartialEq for ResolutionKeyDomain
Auto Trait Implementations§
impl Freeze for ResolutionKeyDomain
impl RefUnwindSafe for ResolutionKeyDomain
impl Send for ResolutionKeyDomain
impl Sync for ResolutionKeyDomain
impl Unpin for ResolutionKeyDomain
impl UnwindSafe for ResolutionKeyDomain
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.