pub struct FrameOutput {
pub scene: Scene,
pub hit_regions: Vec<HitRegion>,
pub semantics_nodes: Vec<SemNode>,
pub focus_chain: Vec<u64>,
pub platform: PlatformOutput,
pub wants_pointer: bool,
pub wants_keyboard: bool,
}Expand description
Output of a single frame: the rendered scene plus metadata for the host.
Fields§
§scene: SceneThe scene graph for rendering.
hit_regions: Vec<HitRegion>Hit regions for pointer dispatch between frames.
semantics_nodes: Vec<SemNode>Semantics nodes for a11y.
focus_chain: Vec<u64>Focus chain for tab navigation.
platform: PlatformOutputPlatform-side effects (cursor, IME, clipboard).
wants_pointer: boolWhether the UI wants pointer events (if false, host can pass events through).
wants_keyboard: boolWhether the UI wants keyboard events (if false, host can pass events through).
Auto Trait Implementations§
impl !RefUnwindSafe for FrameOutput
impl !Send for FrameOutput
impl !Sync for FrameOutput
impl !UnwindSafe for FrameOutput
impl Freeze for FrameOutput
impl Unpin for FrameOutput
impl UnsafeUnpin for FrameOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more