pub struct RenderStats {
pub frame_time_ms: f64,
pub nodes_rendered: usize,
pub edges_rendered: usize,
pub nodes_culled: usize,
pub edges_culled: usize,
pub draw_calls: usize,
pub triangles: usize,
pub memory_used: u64,
}Expand description
Render statistics for performance monitoring
Fields§
§frame_time_ms: f64§nodes_rendered: usize§edges_rendered: usize§nodes_culled: usize§edges_culled: usize§draw_calls: usize§triangles: usize§memory_used: u64Trait Implementations§
Source§impl Clone for RenderStats
impl Clone for RenderStats
Source§fn clone(&self) -> RenderStats
fn clone(&self) -> RenderStats
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 moreSource§impl Debug for RenderStats
impl Debug for RenderStats
Source§impl Default for RenderStats
impl Default for RenderStats
Source§fn default() -> RenderStats
fn default() -> RenderStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenderStats
impl RefUnwindSafe for RenderStats
impl Send for RenderStats
impl Sync for RenderStats
impl Unpin for RenderStats
impl UnwindSafe for RenderStats
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