pub struct Body<C: Collider> {
pub colliders: Vec<C>,
}
Expand description
An object which might consist of multiple colliders. Collisions between multiple colliders of the same body are not checked.
Fields§
§colliders: Vec<C>
All the colliders of the body.
Implementations§
Auto Trait Implementations§
impl<C> Freeze for Body<C>
impl<C> RefUnwindSafe for Body<C>where
C: RefUnwindSafe,
impl<C> Send for Body<C>where
C: Send,
impl<C> Sync for Body<C>where
C: Sync,
impl<C> Unpin for Body<C>where
C: Unpin,
impl<C> UnwindSafe for Body<C>where
C: 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