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§