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§
Sourcefn rendered_visuals(&self) -> i32
fn rendered_visuals(&self) -> i32
The number of visuals rendered during the frame.
Sourcefn set_rendered_visuals(&self, value: i32)
fn set_rendered_visuals(&self, value: i32)
Sets the number of visuals rendered during the frame.
Sourcefn visited_visuals(&self) -> i32
fn visited_visuals(&self) -> i32
The number of visuals visited during the frame.
Sourcefn set_visited_visuals(&self, value: i32)
fn set_visited_visuals(&self, value: i32)
Sets the number of visuals visited during the frame.
Sourcefn rect_invalidated(&self, rc: LtrbRect)
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".