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