Trait GraphicsObjectMethods

Source
pub trait GraphicsObjectMethods: ObjectMethods {
    // Provided methods
    fn get_renderer(&self) -> Option<GraphicsRendererIsOwned<false>> { ... }
    fn is_null(&self) -> bool { ... }
}
Expand description

This trait represents C++ wxGraphicsObject class’s methods and inheritance.

See GraphicsObjectIsOwned documentation for the class usage.

Provided Methods§

Source

fn get_renderer(&self) -> Option<GraphicsRendererIsOwned<false>>

Returns the renderer that was used to create this instance, or NULL if it has not been initialized yet.

See C++ wxGraphicsObject::GetRenderer()’s documentation.

Source

fn is_null(&self) -> bool

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§