Expand description
Custom render object trait for CustomNode.
Allows third-party or application-specific nodes to participate in hit-testing, event handling, and painting without requiring changes to the core IR enum variants.
Structs§
- Custom
Event Result - Result of custom event handling.
- Custom
HitResult - Result of a custom hit-test.
- Render
Object Holder - Wrapper that allows
Arc<dyn CustomRenderObject>to be stored asArc<dyn Any + Send + Sync>inside the dependency-freefission-ircrate.
Traits§
- Custom
Render Object - Extension point for custom nodes that need to participate in rendering, hit-testing, and event handling.
Functions§
- downcast_
render_ object - Try to recover an
Arc<dyn CustomRenderObject>from anAnyRenderObjectstored inCoreIR::custom_render_objects.