pub struct FrameResult {
pub substeps: usize,
pub physics_time_ms: f64,
pub quality: QualityLevel,
pub budget_exceeded: bool,
pub sim_time_advanced: f64,
}Expand description
Result of a Heijunka frame execution.
Fields§
§substeps: usizeNumber of substeps executed.
physics_time_ms: f64Time spent on physics in milliseconds.
quality: QualityLevelCurrent quality level.
budget_exceeded: boolWhether budget was exceeded.
sim_time_advanced: f64Simulation time advanced.
Trait Implementations§
Source§impl Clone for FrameResult
impl Clone for FrameResult
Source§fn clone(&self) -> FrameResult
fn clone(&self) -> FrameResult
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 FrameResult
impl Debug for FrameResult
Source§impl<'de> Deserialize<'de> for FrameResult
impl<'de> Deserialize<'de> for FrameResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FrameResult
impl RefUnwindSafe for FrameResult
impl Send for FrameResult
impl Sync for FrameResult
impl Unpin for FrameResult
impl UnsafeUnpin for FrameResult
impl UnwindSafe for FrameResult
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