pub struct ContactPair {
pub collider1: ColliderHandle,
pub collider2: ColliderHandle,
pub normal: [f32; 3],
pub sensor: bool,
}Expand description
Contacts include transient impacts from all substeps of the latest outer step.
Fields§
§collider1: ColliderHandle§collider2: ColliderHandle§normal: [f32; 3]§sensor: boolImplementations§
Source§impl ContactPair
impl ContactPair
pub fn has_any_active_contact(&self) -> bool
Trait Implementations§
Source§impl Clone for ContactPair
impl Clone for ContactPair
Source§fn clone(&self) -> ContactPair
fn clone(&self) -> ContactPair
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContactPair
impl Debug for ContactPair
impl Copy for ContactPair
Auto Trait Implementations§
impl Freeze for ContactPair
impl RefUnwindSafe for ContactPair
impl Send for ContactPair
impl Sync for ContactPair
impl Unpin for ContactPair
impl UnwindSafe for ContactPair
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