pub unsafe trait Mutable: Source + AsMut<[u8]> { }Expand description
§Safety
AsMut::as_mut returns the full Source range with its pre-call pointer and length, unchanged after the loan.
The call changes no owner, descriptor, extent, or bytes; caller slice writes are allowed, and other exclusive operations retain their own contracts.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".