pub trait ValueAsMutObject {
type Object;
// Required method
fn as_object_mut(&mut self) -> Option<&mut Self::Object>;
}Expand description
Mutatability for Object values
Required Associated Types§
Required Methods§
Sourcefn as_object_mut(&mut self) -> Option<&mut Self::Object>
fn as_object_mut(&mut self) -> Option<&mut Self::Object>
Tries to represent the value as an object and returns a mutable reference to it
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".