pub struct FrameDebugInfo {
pub timestamp_ms: u32,
pub active_events: usize,
pub dirty_regions: Vec<DirtyRegionInfo>,
pub render_time_ms: f64,
pub memory_usage_bytes: usize,
pub cache_hits: usize,
pub cache_misses: usize,
pub backend_type: String,
pub frame_checksum: u64,
pub non_transparent_pixels: usize,
pub bounding_box: Option<BoundingBoxInfo>,
}Expand description
Debug information for a rendered frame
Fields§
§timestamp_ms: u32Frame timestamp in milliseconds
active_events: usizeNumber of active subtitle events
dirty_regions: Vec<DirtyRegionInfo>Dirty regions that need re-rendering
render_time_ms: f64Time taken to render this frame in milliseconds
memory_usage_bytes: usizeMemory used by frame data in bytes
cache_hits: usizeNumber of cache hits during rendering
cache_misses: usizeNumber of cache misses during rendering
backend_type: StringName of the rendering backend used
frame_checksum: u64Checksum of the frame data for comparison
non_transparent_pixels: usizeNumber of non-transparent pixels
bounding_box: Option<BoundingBoxInfo>Bounding box of rendered content
Trait Implementations§
Source§impl Clone for FrameDebugInfo
impl Clone for FrameDebugInfo
Source§fn clone(&self) -> FrameDebugInfo
fn clone(&self) -> FrameDebugInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrameDebugInfo
impl Debug for FrameDebugInfo
Auto Trait Implementations§
impl Freeze for FrameDebugInfo
impl RefUnwindSafe for FrameDebugInfo
impl Send for FrameDebugInfo
impl Sync for FrameDebugInfo
impl Unpin for FrameDebugInfo
impl UnsafeUnpin for FrameDebugInfo
impl UnwindSafe for FrameDebugInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more