Trait zerocopy::byte_slice::ByteSliceMut

source ·
pub trait ByteSliceMut: ByteSlice + DerefMut { }
Expand description

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]>.

ByteSliceMut is a shorthand for ByteSlice and DerefMut.

Object Safety§

This trait is not object safe.

Implementors§