pub struct ContactEvent {
pub kind: ContactEventKind,
pub first: BodyHandle,
pub second: BodyHandle,
pub sensor: bool,
pub point: [f32; 3],
pub normal: [f32; 3],
}Fields§
§kind: ContactEventKind§first: BodyHandle§second: BodyHandle§sensor: bool§point: [f32; 3]§normal: [f32; 3]Trait Implementations§
Source§impl Clone for ContactEvent
impl Clone for ContactEvent
Source§fn clone(&self) -> ContactEvent
fn clone(&self) -> ContactEvent
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 ContactEvent
Source§impl Debug for ContactEvent
impl Debug for ContactEvent
Source§impl PartialEq for ContactEvent
impl PartialEq for ContactEvent
impl StructuralPartialEq for ContactEvent
Auto Trait Implementations§
impl Freeze for ContactEvent
impl RefUnwindSafe for ContactEvent
impl Send for ContactEvent
impl Sync for ContactEvent
impl Unpin for ContactEvent
impl UnsafeUnpin for ContactEvent
impl UnwindSafe for ContactEvent
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