Skip to main content

ICompositionTargetDebugEvents

Trait ICompositionTargetDebugEvents 

Source
pub trait ICompositionTargetDebugEvents: Send + Sync {
    // Required methods
    fn rendered_visuals(&self) -> i32;
    fn set_rendered_visuals(&self, value: i32);
    fn visited_visuals(&self) -> i32;
    fn set_visited_visuals(&self, value: i32);
    fn rect_invalidated(&self, rc: LtrbRect);
}
Expand description

Receives debugging information from a composition target while it renders a frame.

Required Methods§

Source

fn rendered_visuals(&self) -> i32

The number of visuals rendered during the frame.

Source

fn set_rendered_visuals(&self, value: i32)

Sets the number of visuals rendered during the frame.

Source

fn visited_visuals(&self) -> i32

The number of visuals visited during the frame.

Source

fn set_visited_visuals(&self, value: i32)

Sets the number of visuals visited during the frame.

Source

fn rect_invalidated(&self, rc: LtrbRect)

Called for every rectangle that gets invalidated.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§