pub struct BudgetSample {
pub frame_ms: f32,
pub cpu_ms: f32,
pub gpu_ms: Option<f32>,
pub paused: bool,
}Fields§
§frame_ms: f32§cpu_ms: f32§gpu_ms: Option<f32>§paused: boolImplementations§
Trait Implementations§
Source§impl Clone for BudgetSample
impl Clone for BudgetSample
Source§fn clone(&self) -> BudgetSample
fn clone(&self) -> BudgetSample
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 BudgetSample
impl Debug for BudgetSample
impl Copy for BudgetSample
Auto Trait Implementations§
impl Freeze for BudgetSample
impl RefUnwindSafe for BudgetSample
impl Send for BudgetSample
impl Sync for BudgetSample
impl Unpin for BudgetSample
impl UnwindSafe for BudgetSample
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