StandardObject

Trait StandardObject 

Source
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§

Source

fn properties(&self) -> &StandardProperties

Retrieve a reference to the StandardProperties of the object.

Source

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.

Implementors§