Skip to main content

ApplicationObjectExt

Trait ApplicationObjectExt 

Source
pub trait ApplicationObjectExt: Application {
    // Provided method
    fn build_object_root(&mut self, width: u32, height: u32) -> ObjectNode { ... }
}
Expand description

Extension helpers for legacy Application implementations.

This is the compatibility bridge from the public-field WidgetNode carrier to the LPAR object substrate. New runtime phases should target ObjectNode while existing applications can still build their legacy root and adopt it at the runtime boundary.

Provided Methods§

Source

fn build_object_root(&mut self, width: u32, height: u32) -> ObjectNode

Build this application and adopt the returned WidgetNode root into an ObjectNode tree.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§