pub trait WrapsMut<T>: Wraps<T> {
// Required method
fn inner_mut(&mut self) -> &mut T;
}
Expand description
Most WASM types are wrapping a Rust type one-on-one. This trait helps to enforce a convention so that WASM types can easily peek under the hood of other such wrapped WASM types.
See also Wraps<T>
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.