pub struct StringHash(pub u64);Expand description
Computes a deterministic hash for a string.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for StringHash
impl Clone for StringHash
Source§fn clone(&self) -> StringHash
fn clone(&self) -> StringHash
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 StringHash
impl Debug for StringHash
Source§impl PartialEq for StringHash
impl PartialEq for StringHash
impl Copy for StringHash
impl Eq for StringHash
impl StructuralPartialEq for StringHash
Auto Trait Implementations§
impl Freeze for StringHash
impl RefUnwindSafe for StringHash
impl Send for StringHash
impl Sync for StringHash
impl Unpin for StringHash
impl UnsafeUnpin for StringHash
impl UnwindSafe for StringHash
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