pub struct StepEventsSnapshot {
pub body: Vec<BodyMoveEvent>,
pub contact: ContactEvents,
pub joint: Vec<JointEvent>,
pub sensor: SensorEvents,
}Expand description
An owned event snapshot which remains valid after the world is mutated again.
Fields§
§body: Vec<BodyMoveEvent>§contact: ContactEvents§joint: Vec<JointEvent>§sensor: SensorEventsTrait Implementations§
Source§impl Clone for StepEventsSnapshot
impl Clone for StepEventsSnapshot
Source§fn clone(&self) -> StepEventsSnapshot
fn clone(&self) -> StepEventsSnapshot
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 StepEventsSnapshot
impl Debug for StepEventsSnapshot
Source§impl Default for StepEventsSnapshot
impl Default for StepEventsSnapshot
Source§fn default() -> StepEventsSnapshot
fn default() -> StepEventsSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StepEventsSnapshot
impl RefUnwindSafe for StepEventsSnapshot
impl Send for StepEventsSnapshot
impl Sync for StepEventsSnapshot
impl Unpin for StepEventsSnapshot
impl UnsafeUnpin for StepEventsSnapshot
impl UnwindSafe for StepEventsSnapshot
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