[−][src]Struct hashed::HashedGeneric
Methods
impl<T: ?Sized, V> HashedGeneric<T, V> where
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
[src]
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
pub fn new(hashee: &T) -> Self
[src]
Create a new Hashed
pub fn value(&self) -> V
[src]
Get the actual hash value the Hashed
Trait Implementations
impl<T: Clone + ?Sized, V: Clone> Clone for HashedGeneric<T, V> where
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
[src]
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
fn clone(&self) -> HashedGeneric<T, V>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T, V> Default for HashedGeneric<T, V> where
T: Hash + Default,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
[src]
T: Hash + Default,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
impl<T, V> From<T> for HashedGeneric<T, V> where
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
[src]
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
impl<T: ?Sized, V> Into<u64> for HashedGeneric<T, V> where
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
[src]
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
impl<T: PartialEq + ?Sized, V: PartialEq> PartialEq<HashedGeneric<T, V>> for HashedGeneric<T, V> where
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
[src]
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
fn eq(&self, other: &HashedGeneric<T, V>) -> bool
[src]
fn ne(&self, other: &HashedGeneric<T, V>) -> bool
[src]
impl<T: Copy + ?Sized, V: Copy> Copy for HashedGeneric<T, V> where
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
[src]
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
impl<T: Eq + ?Sized, V: Eq> Eq for HashedGeneric<T, V> where
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
[src]
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
impl<T: ?Sized, V> Debug for HashedGeneric<T, V> where
T: Hash,
V: AsPrimitive<u64> + LowerHex + Copy,
u64: AsPrimitive<V>,
[src]
T: Hash,
V: AsPrimitive<u64> + LowerHex + Copy,
u64: AsPrimitive<V>,
impl<T: Hash + ?Sized, V: Hash> Hash for HashedGeneric<T, V> where
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
[src]
T: Hash,
V: AsPrimitive<u64> + Copy,
u64: AsPrimitive<V>,
Auto Trait Implementations
impl<T: ?Sized, V> Sync for HashedGeneric<T, V> where
T: Sync,
V: Sync,
T: Sync,
V: Sync,
impl<T: ?Sized, V> Send for HashedGeneric<T, V> where
T: Send,
V: Send,
T: Send,
V: Send,
impl<T: ?Sized, V> Unpin for HashedGeneric<T, V> where
T: Unpin,
V: Unpin,
T: Unpin,
V: Unpin,
impl<T: ?Sized, V> RefUnwindSafe for HashedGeneric<T, V> where
T: RefUnwindSafe,
V: RefUnwindSafe,
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<T: ?Sized, V> UnwindSafe for HashedGeneric<T, V> where
T: UnwindSafe,
V: UnwindSafe,
T: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> AsPrimitive<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,