pub struct PlaytestEvent {
pub frame: u64,
pub tick: Option<u64>,
pub replay: Option<u64>,
pub kind: DiagnosticKind,
pub value: f32,
pub frame_ms: f32,
pub cpu_ms: f32,
pub gpu_ms: Option<f32>,
}Fields§
§frame: u64§tick: Option<u64>§replay: Option<u64>§kind: DiagnosticKind§value: f32§frame_ms: f32§cpu_ms: f32§gpu_ms: Option<f32>Trait Implementations§
Source§impl Clone for PlaytestEvent
impl Clone for PlaytestEvent
Source§fn clone(&self) -> PlaytestEvent
fn clone(&self) -> PlaytestEvent
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 PlaytestEvent
impl Debug for PlaytestEvent
impl Copy for PlaytestEvent
Auto Trait Implementations§
impl Freeze for PlaytestEvent
impl RefUnwindSafe for PlaytestEvent
impl Send for PlaytestEvent
impl Sync for PlaytestEvent
impl Unpin for PlaytestEvent
impl UnwindSafe for PlaytestEvent
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