[−][src]Struct siphasher::sip128::Hash128
A 128-bit (2x64) hash output
Fields
h1: u64
h2: u64
Implementations
impl Hash128
[src]
pub fn as_bytes(&self) -> [u8; 16]
[src]
Convert into a 16-bytes vector
pub fn as_u128(&self) -> u128
[src]
Convert into a u128
pub fn as_u64(&self) -> (u64, u64)
[src]
Convert into (u64, u64)
Trait Implementations
impl Clone for Hash128
[src]
fn clone(&self) -> Hash128
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Hash128
[src]
impl Debug for Hash128
[src]
impl Default for Hash128
[src]
impl From<Hash128> for u128
[src]
impl From<u128> for Hash128
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &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.
pub 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>,