pub struct FrameStep {
pub steps: u32,
pub dt: f32,
pub alpha: f32,
pub dropped_seconds: f64,
}Expand description
A fixed simulation step budget with a fractional render interpolation factor.
Fields§
§steps: u32§dt: f32§alpha: f32§dropped_seconds: f64Whole steps intentionally discarded to prevent a spiral of death.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrameStep
impl RefUnwindSafe for FrameStep
impl Send for FrameStep
impl Sync for FrameStep
impl Unpin for FrameStep
impl UnwindSafe for FrameStep
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