pub struct PhysicsStepResult {
pub dt: f32,
}Expand description
Slot type written into OutputDeck
by StandardPhysicsLane after provider.step(dt) completes.
Drained in Maintenance by the physics_world_writeback DataSystem,
which uses its presence to decide whether the simulation actually
advanced this frame (and therefore whether to pull fresh transforms
out of the provider). When the agent skips its lane (paused agent,
budget exhaustion …) no PhysicsStepResult lands in the deck and the
writeback no-ops.
Fields§
§dt: f32The simulation timestep that was advanced.
Trait Implementations§
Source§impl Clone for PhysicsStepResult
impl Clone for PhysicsStepResult
Source§fn clone(&self) -> PhysicsStepResult
fn clone(&self) -> PhysicsStepResult
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 moreSource§impl Debug for PhysicsStepResult
impl Debug for PhysicsStepResult
Source§impl Default for PhysicsStepResult
impl Default for PhysicsStepResult
Source§fn default() -> PhysicsStepResult
fn default() -> PhysicsStepResult
Returns the “default value” for a type. Read more
impl Copy for PhysicsStepResult
Auto Trait Implementations§
impl Freeze for PhysicsStepResult
impl RefUnwindSafe for PhysicsStepResult
impl Send for PhysicsStepResult
impl Sync for PhysicsStepResult
impl Unpin for PhysicsStepResult
impl UnsafeUnpin for PhysicsStepResult
impl UnwindSafe for PhysicsStepResult
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