pub struct Hash64 {
pub(crate) inner: u64,
}
Expand description
A u64
but encoded with a fixed size; for hashes this encoding is more compact than u64
.
Fields§
§inner: u64
Implementations§
Trait Implementations§
Source§impl BitXorAssign<u64> for Hash64
impl BitXorAssign<u64> for Hash64
Source§fn bitxor_assign(&mut self, rhs: u64)
fn bitxor_assign(&mut self, rhs: u64)
Performs the
^=
operation. Read moreSource§impl FromStableHash for Hash64
impl FromStableHash for Hash64
type Hash = SipHasher128Hash
Source§impl Ord for Hash64
impl Ord for Hash64
Source§impl PartialOrd for Hash64
impl PartialOrd for Hash64
impl Copy for Hash64
impl Eq for Hash64
impl StructuralPartialEq for Hash64
Auto Trait Implementations§
impl Freeze for Hash64
impl RefUnwindSafe for Hash64
impl Send for Hash64
impl Sync for Hash64
impl Unpin for Hash64
impl UnwindSafe for Hash64
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes