pub trait LayoutNodeProvider: Component {
// Required method
fn layout_node(&self) -> Option<LayoutNode>;
}Expand description
Trait for components that expose a layout node.
Required Methods§
Sourcefn layout_node(&self) -> Option<LayoutNode>
fn layout_node(&self) -> Option<LayoutNode>
Get the layout node if this component has one.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".