pub struct BodyMoveEvent {
pub user_data: u64,
pub transform: WorldTransform,
pub body_id: BodyId,
pub fell_asleep: bool,
}Expand description
Body move event, triggered when a body moves due to simulation. Not reported for bodies moved by the user. (b3BodyMoveEvent)
Fields§
§user_data: u64§transform: WorldTransform§body_id: BodyId§fell_asleep: boolTrait Implementations§
Source§impl Clone for BodyMoveEvent
impl Clone for BodyMoveEvent
Source§fn clone(&self) -> BodyMoveEvent
fn clone(&self) -> BodyMoveEvent
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 BodyMoveEvent
Source§impl Debug for BodyMoveEvent
impl Debug for BodyMoveEvent
Source§impl PartialEq for BodyMoveEvent
impl PartialEq for BodyMoveEvent
impl StructuralPartialEq for BodyMoveEvent
Auto Trait Implementations§
impl Freeze for BodyMoveEvent
impl RefUnwindSafe for BodyMoveEvent
impl Send for BodyMoveEvent
impl Sync for BodyMoveEvent
impl Unpin for BodyMoveEvent
impl UnsafeUnpin for BodyMoveEvent
impl UnwindSafe for BodyMoveEvent
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