#[repr(C)]pub struct b3BodyEvents {
pub moveEvents: *mut b3BodyMoveEvent,
pub moveCount: c_int,
}Expand description
Body events are buffered in the 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 b3BodyMoveEventArray of move events
moveCount: c_intNumber of move events
Trait Implementations§
Source§impl Clone for b3BodyEvents
impl Clone for b3BodyEvents
Source§fn clone(&self) -> b3BodyEvents
fn clone(&self) -> b3BodyEvents
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 moreimpl Copy for b3BodyEvents
Auto Trait Implementations§
impl !Send for b3BodyEvents
impl !Sync for b3BodyEvents
impl Freeze for b3BodyEvents
impl RefUnwindSafe for b3BodyEvents
impl Unpin for b3BodyEvents
impl UnsafeUnpin for b3BodyEvents
impl UnwindSafe for b3BodyEvents
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