#[repr(C)]pub struct b2JointEvent {
pub jointId: b2JointId,
pub userData: *mut c_void,
}Expand description
Joint events report joints that are awake and have a force and/or torque exceeding the threshold The observed forces and torques are not returned for efficiency reasons.
Fields§
§jointId: b2JointIdThe joint id
userData: *mut c_voidThe user data from the joint for convenience
Trait Implementations§
Source§impl Clone for b2JointEvent
impl Clone for b2JointEvent
Source§fn clone(&self) -> b2JointEvent
fn clone(&self) -> b2JointEvent
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 b2JointEvent
impl Debug for b2JointEvent
impl Copy for b2JointEvent
Auto Trait Implementations§
impl Freeze for b2JointEvent
impl RefUnwindSafe for b2JointEvent
impl !Send for b2JointEvent
impl !Sync for b2JointEvent
impl Unpin for b2JointEvent
impl UnwindSafe for b2JointEvent
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)