[][src]Trait zerocopy::ByteSliceMut

pub unsafe trait ByteSliceMut: ByteSlice + DerefMut {
    fn as_mut_ptr(&mut self) -> *mut u8;
}

A mutable reference to a byte slice.

ByteSliceMut abstracts over various ways of storing a mutable reference to a byte slice, and is implemented for various special reference types such as RefMut<[u8]>.

Required methods

fn as_mut_ptr(&mut self) -> *mut u8

Loading content...

Implementations on Foreign Types

impl<'a> ByteSliceMut for RefMut<'a, [u8]>[src]

Loading content...

Implementors

impl<'a> ByteSliceMut for &'a mut [u8][src]

Loading content...