Struct rabbit::InitVec
[−]
[src]
pub struct InitVec(_);
64-bit initialization vector
let iv1: InitVec = u64.into(); // LSB -> iv[0], MSB -> iv[7] let iv2: InitVec = [0u8; 8].into(); let iv3: InitVec = byte_slice_with_len_eq_8.into(); let iv4: InitVec = byte_slice_with_len_ne_8.into(); // Panic!
Trait Implementations
impl Clone for InitVec
[src]
fn clone(&self) -> InitVec
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for InitVec
[src]
fn eq(&self, __arg_0: &InitVec) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InitVec) -> bool
This method tests for !=
.
impl Eq for InitVec
[src]
impl Hash for InitVec
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for InitVec
[src]
impl Deref for InitVec
[src]
type Target = [u8; 8]
The resulting type after dereferencing
fn deref(&self) -> &[u8; 8]
The method called to dereference a value