pub trait StandardObject: Object {
// Required methods
fn properties(&self) -> &StandardProperties;
fn properties_mut(&mut self) -> &mut StandardProperties;
}Expand description
Functionality for standard objects.
Required Methods§
Sourcefn properties(&self) -> &StandardProperties
fn properties(&self) -> &StandardProperties
Retrieve a reference to the StandardProperties of the object.
Sourcefn properties_mut(&mut self) -> &mut StandardProperties
fn properties_mut(&mut self) -> &mut StandardProperties
Retrieve a mutable reference to the StandardProperties of the object.
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.