pub struct FieldNarrowphase<S: PhysicsSpace> { /* private fields */ }Implementations§
Source§impl<S: PhysicsSpace> FieldNarrowphase<S>
impl<S: PhysicsSpace> FieldNarrowphase<S>
pub fn new() -> Self
pub fn register(&mut self, body: ColliderKind, query: FieldContactFn<S>)
pub fn registrations(&self) -> &[ColliderKind]
pub fn test( &self, body: &RigidBody<S>, geometry: &GeometryStore, field: &dyn DistanceField, space: &S, ) -> Result<FieldContact<S>, FieldRefusal>
Trait Implementations§
Source§impl<S: PhysicsSpace> Default for FieldNarrowphase<S>
impl<S: PhysicsSpace> Default for FieldNarrowphase<S>
Auto Trait Implementations§
impl<S> Freeze for FieldNarrowphase<S>
impl<S> RefUnwindSafe for FieldNarrowphase<S>
impl<S> Send for FieldNarrowphase<S>
impl<S> Sync for FieldNarrowphase<S>
impl<S> Unpin for FieldNarrowphase<S>
impl<S> UnsafeUnpin for FieldNarrowphase<S>
impl<S> UnwindSafe for FieldNarrowphase<S>
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