pub struct IndexedCollisionInfo<V: VectorSpace, S, D> {
pub index: ObjectIndex<S, D>,
pub info: CollisionInfo<V>,
}
Expand description
The collision info with the index of the collider or body.
Fields§
§index: ObjectIndex<S, D>
Index of the collider or body.
info: CollisionInfo<V>
The actual collision info.
Auto Trait Implementations§
impl<V, S, D> Freeze for IndexedCollisionInfo<V, S, D>
impl<V, S, D> RefUnwindSafe for IndexedCollisionInfo<V, S, D>
impl<V, S, D> Send for IndexedCollisionInfo<V, S, D>
impl<V, S, D> Sync for IndexedCollisionInfo<V, S, D>
impl<V, S, D> Unpin for IndexedCollisionInfo<V, S, D>
impl<V, S, D> UnwindSafe for IndexedCollisionInfo<V, S, D>
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