pub unsafe trait ToMutByteSlicewhere
Self: Sized,{
// Required method
fn to_mut_byte_slice<T: AsMut<[Self]> + ?Sized>(slice: &mut T) -> &mut [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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.