[][src]Trait rand::AsByteSliceMut

pub trait AsByteSliceMut {
    fn as_byte_slice_mut(&mut self) -> &mut [u8];
fn to_le(&mut self); }

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]

Return a mutable reference to self as a byte slice

fn to_le(&mut self)

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

Loading content...

Implementations on Foreign Types

impl AsByteSliceMut for [u8][src]

impl AsByteSliceMut for [u16][src]

impl AsByteSliceMut for [Wrapping<u16>][src]

impl AsByteSliceMut for [u32][src]

impl AsByteSliceMut for [Wrapping<u32>][src]

impl AsByteSliceMut for [u64][src]

impl AsByteSliceMut for [Wrapping<u64>][src]

impl AsByteSliceMut for [usize][src]

impl AsByteSliceMut for [Wrapping<usize>][src]

impl AsByteSliceMut for [u128][src]

impl AsByteSliceMut for [Wrapping<u128>][src]

impl AsByteSliceMut for [i8][src]

impl AsByteSliceMut for [Wrapping<i8>][src]

impl AsByteSliceMut for [i16][src]

impl AsByteSliceMut for [Wrapping<i16>][src]

impl AsByteSliceMut for [i32][src]

impl AsByteSliceMut for [Wrapping<i32>][src]

impl AsByteSliceMut for [i64][src]

impl AsByteSliceMut for [Wrapping<i64>][src]

impl AsByteSliceMut for [isize][src]

impl AsByteSliceMut for [Wrapping<isize>][src]

impl AsByteSliceMut for [i128][src]

impl AsByteSliceMut for [Wrapping<i128>][src]

impl<T> AsByteSliceMut for [T; 32] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 31] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 30] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 29] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 28] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 27] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 26] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 25] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 24] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 23] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 22] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 21] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 20] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 19] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 18] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 17] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 16] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 15] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 14] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 13] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 12] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 11] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 10] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 9] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 8] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 7] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 6] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 5] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 4] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 3] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 2] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 1] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 0] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 4096] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 2048] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 1024] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 512] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 256] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 128] where
    [T]: AsByteSliceMut
[src]

impl<T> AsByteSliceMut for [T; 64] where
    [T]: AsByteSliceMut
[src]

Loading content...

Implementors

Loading content...