Struct rustc_data_structures::sip128::SipHasher128 [−][src]
#[repr(C)]pub struct SipHasher128 { nbuf: usize, buf: [MaybeUninit<u64>; 9], state: State, processed: usize, }
Fields
nbuf: usizebuf: [MaybeUninit<u64>; 9]state: Stateprocessed: usizeImplementations
impl SipHasher128[src]
impl SipHasher128[src]pub fn new_with_keys(key0: u64, key1: u64) -> SipHasher128[src]
fn short_write<T>(&mut self, x: T)[src]
unsafe fn short_write_process_buffer<T>(&mut self, x: T)[src]
fn slice_write(&mut self, msg: &[u8])[src]
unsafe fn slice_write_process_buffer(&mut self, msg: &[u8])[src]
pub fn finish128(self) -> (u64, u64)[src]
Trait Implementations
impl Clone for SipHasher128[src]
impl Clone for SipHasher128[src]fn clone(&self) -> SipHasher128[src]
fn clone(&self) -> SipHasher128[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for SipHasher128[src]
impl Debug for SipHasher128[src]impl Hasher for SipHasher128[src]
impl Hasher for SipHasher128[src]fn write_usize(&mut self, i: usize)[src]
fn write_usize(&mut self, i: usize)[src]Writes a single usize into this hasher.
fn write_isize(&mut self, i: isize)[src]
fn write_isize(&mut self, i: isize)[src]Writes a single isize into this hasher.
fn write_u128(&mut self, i: u128)1.26.0[src]
fn write_u128(&mut self, i: u128)1.26.0[src]Writes a single u128 into this hasher.
fn write_i128(&mut self, i: i128)1.26.0[src]
fn write_i128(&mut self, i: i128)1.26.0[src]Writes a single i128 into this hasher.
Auto Trait Implementations
impl RefUnwindSafe for SipHasher128
impl Send for SipHasher128
impl Sync for SipHasher128
impl Unpin for SipHasher128
impl UnwindSafe for SipHasher128
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,