Struct crayon::utils::hash_value::HashValue
[−]
[src]
pub struct HashValue<T: ?Sized>(_, _)
where
T: Hash;
Methods
impl<T: ?Sized> HashValue<T> where
T: Hash,
[src]
T: Hash,
Trait Implementations
impl<T: Debug + ?Sized> Debug for HashValue<T> where
T: Hash,
[src]
T: Hash,
impl<T: PartialEq + ?Sized> PartialEq for HashValue<T> where
T: Hash,
[src]
T: Hash,
fn eq(&self, __arg_0: &HashValue<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HashValue<T>) -> bool
[src]
This method tests for !=
.
impl<T: Eq + ?Sized> Eq for HashValue<T> where
T: Hash,
[src]
T: Hash,
impl<T: ?Sized> Clone for HashValue<T> where
T: Hash,
[src]
T: Hash,
fn clone(&self) -> Self
[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<T: ?Sized> Copy for HashValue<T> where
T: Hash,
[src]
T: Hash,
impl<T: ?Sized> Hash for HashValue<T> where
T: Hash,
[src]
T: Hash,
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
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<F> From<F> for HashValue<str> where
F: AsRef<str>,
[src]
F: AsRef<str>,
impl<T> PartialEq<T> for HashValue<str> where
T: AsRef<str>,
[src]
T: AsRef<str>,
fn eq(&self, rhs: &T) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<T> From<T> for HashValue<Path> where
T: AsRef<Path>,
[src]
T: AsRef<Path>,
impl<T> PartialEq<T> for HashValue<Path> where
T: AsRef<Path>,
[src]
T: AsRef<Path>,