Trait rand::AsByteSliceMut [−][src]
pub trait AsByteSliceMut { fn as_byte_slice_mut(&mut self) -> &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
fn as_byte_slice_mut(&mut self) -> &mut [u8]
[src]
fn as_byte_slice_mut(&mut self) -> &mut [u8]
[src]Return a mutable reference to self as a byte slice