pub trait ObjectExt: Object {
// Required methods
fn props(&self) -> &ObjectProperties;
fn props_mut(&mut self) -> &mut ObjectProperties;
}
Expand description
The Object Extension Trait
This trait provides generic access to an object’s properties
Required Methods§
fn props(&self) -> &ObjectProperties
fn props_mut(&mut self) -> &mut ObjectProperties
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.