pub struct RenderMetrics {
pub render_ms: u128,
pub total_frames: u64,
}Fields§
§render_ms: u128§total_frames: u64Trait Implementations§
Source§impl Clone for RenderMetrics
impl Clone for RenderMetrics
Source§fn clone(&self) -> RenderMetrics
fn clone(&self) -> RenderMetrics
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 moreAuto Trait Implementations§
impl Freeze for RenderMetrics
impl RefUnwindSafe for RenderMetrics
impl Send for RenderMetrics
impl Sync for RenderMetrics
impl Unpin for RenderMetrics
impl UnsafeUnpin for RenderMetrics
impl UnwindSafe for RenderMetrics
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