twox_hash::xxhash3_64

Trait FixedMutBuffer

source
pub unsafe trait FixedMutBuffer: FixedBuffer + AsMut<[u8]> { }
Available on crate feature xxhash3_64 only.
Expand description

A mutable buffer to contain the secret bytes.

§Safety

Must always return a slice with the same number of elements. The slice must always be the same as that returned from AsRef::as_ref.

Implementations on Foreign Types§

source§

impl FixedMutBuffer for Box<[u8]>

Available on crate feature alloc only.
source§

impl<const N: usize> FixedMutBuffer for &mut [u8; N]

source§

impl<const N: usize> FixedMutBuffer for [u8; N]

Implementors§