Trait AsByteSliceMut

Source
pub trait AsByteSliceMut {
    // Required methods
    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§

Source

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice

Source

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).

Implementations on Foreign Types§

Source§

impl AsByteSliceMut for [i8]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [i16]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [i32]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [i64]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [i128]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [isize]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [u8]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [u16]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [u32]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [u64]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [u128]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [usize]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [Wrapping<i8>]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [Wrapping<i16>]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [Wrapping<i32>]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [Wrapping<i64>]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [Wrapping<i128>]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [Wrapping<isize>]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [Wrapping<u16>]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [Wrapping<u32>]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [Wrapping<u64>]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [Wrapping<u128>]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl AsByteSliceMut for [Wrapping<usize>]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 0]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 1]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 2]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 3]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 4]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 5]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 6]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 7]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 8]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 9]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 10]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 11]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 12]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 13]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 14]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 15]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 16]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 17]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 18]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 19]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 20]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 21]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 22]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 23]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 24]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 25]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 26]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 27]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 28]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 29]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 30]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 31]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 32]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 64]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 128]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 256]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 512]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 1024]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 2048]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Source§

impl<T> AsByteSliceMut for [T; 4096]

Source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Source§

fn to_le(&mut self)

Implementors§