[][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 fill and try_fill methods.

Required methods

Return a mutable reference to self as a byte slice

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 [u32]
[src]

impl AsByteSliceMut for [u64]
[src]

impl AsByteSliceMut for [u128]
[src]

impl AsByteSliceMut for [usize]
[src]

impl AsByteSliceMut for [i8]
[src]

impl AsByteSliceMut for [i16]
[src]

impl AsByteSliceMut for [i32]
[src]

impl AsByteSliceMut for [i64]
[src]

impl AsByteSliceMut for [i128]
[src]

impl AsByteSliceMut for [isize]
[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

Loading content...