Trait rand::AsByteSliceMut
source · [−]pub trait AsByteSliceMut {
fn as_byte_slice_mut(&mut self) -> &mut [u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
;
fn to_le(&mut self);
}
Expand description
Trait for casting types to byte slices
This is used by the Rng::fill
and Rng::try_fill
methods.
Required methods
Return a mutable reference to self as a byte slice