Struct RenderingStats
#[non_exhaustive]pub struct RenderingStats {
pub encoding_time: f64,
pub rendering_time: f64,
pub frame_count: i64,
pub draw_call_count: i64,
pub total_draw_call_count: i64,
}Expand description
Rendering statistics copied from a render-frame event payload.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.encoding_time: f64§rendering_time: f64§frame_count: i64§draw_call_count: i64§total_draw_call_count: i64Trait Implementations§
§impl Clone for RenderingStats
impl Clone for RenderingStats
§fn clone(&self) -> RenderingStats
fn clone(&self) -> RenderingStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for RenderingStats
impl Debug for RenderingStats
§impl PartialEq for RenderingStats
impl PartialEq for RenderingStats
impl StructuralPartialEq for RenderingStats
Auto Trait Implementations§
impl Freeze for RenderingStats
impl RefUnwindSafe for RenderingStats
impl Send for RenderingStats
impl Sync for RenderingStats
impl Unpin for RenderingStats
impl UnsafeUnpin for RenderingStats
impl UnwindSafe for RenderingStats
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