pub unsafe trait ToMutByteSlice where
    Self: Sized
{ fn to_mut_byte_slice<T: AsMut<[Self]> + ?Sized>(slice: &mut T) -> &mut [u8]
Notable traits for &'_ mut [u8]
impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
; }
Expand description

Trait for converting from a mutable slice of a fundamental, built-in numeric type to a mutable byte slice.

This trait is an implementation detail. Use the AsMutByteSlice trait.

Required methods

Convert from a mutable slice of a fundamental, built-in numeric type to a mutable byte slice

Implementations on Foreign Types

Implementors