#[repr(C)]pub struct b2BodyEvents {
pub moveEvents: *mut b2BodyMoveEvent,
pub moveCount: c_int,
}Expand description
Body events are buffered in the Box2D world and are available as event arrays after the time step is complete. Note: this data becomes invalid if bodies are destroyed
Fields§
§moveEvents: *mut b2BodyMoveEventArray of move events
moveCount: c_intNumber of move events
Trait Implementations§
Source§impl Clone for b2BodyEvents
impl Clone for b2BodyEvents
Source§fn clone(&self) -> b2BodyEvents
fn clone(&self) -> b2BodyEvents
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for b2BodyEvents
impl Debug for b2BodyEvents
impl Copy for b2BodyEvents
Auto Trait Implementations§
impl Freeze for b2BodyEvents
impl RefUnwindSafe for b2BodyEvents
impl !Send for b2BodyEvents
impl !Sync for b2BodyEvents
impl Unpin for b2BodyEvents
impl UnwindSafe for b2BodyEvents
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)