Enum warmy::DepKey
[−]
[src]
pub enum DepKey { Path(PathKey), Logical(LogicalKey), }
A dependency key, which is either a PathKey
or a LogicalKey
.
Variants
Path(PathKey)
Logical(LogicalKey)
Trait Implementations
impl Clone for DepKey
[src]
fn clone(&self) -> DepKey
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for DepKey
[src]
impl Eq for DepKey
[src]
impl Hash for DepKey
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for DepKey
[src]
fn eq(&self, __arg_0: &DepKey) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DepKey) -> bool
[src]
This method tests for !=
.
impl From<PathKey> for DepKey
[src]
impl From<LogicalKey> for DepKey
[src]
fn from(key: LogicalKey) -> Self
[src]
Performs the conversion.
impl<T> From<Key<T>> for DepKey where
T: Load,
[src]
T: Load,