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§
Sourcefn get_renderer(&self) -> Option<GraphicsRendererIsOwned<false>>
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.
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.