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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for InitVec
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for InitVec
[src]

impl Hash for InitVec
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for InitVec
[src]

Formats the value using the given formatter.

impl Deref for InitVec
[src]

The resulting type after dereferencing

The method called to dereference a value

impl From<u64> for InitVec
[src]

Performs the conversion.

impl From<[u8; 8]> for InitVec
[src]

Performs the conversion.

impl<'a> From<&'a [u8]> for InitVec
[src]

Performs the conversion.