pub struct Manifold<S: PhysicsSpace> {
pub body_a: BodyId,
pub body_b: BodyId,
pub restitution: f32,
pub points: Vec<ContactPoint<S>>,
}Fields§
§body_a: BodyIdAlways < body_b.
body_b: BodyId§restitution: f32Set on first contact and kept.
points: Vec<ContactPoint<S>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Manifold<S>
impl<S> RefUnwindSafe for Manifold<S>
impl<S> Send for Manifold<S>
impl<S> Sync for Manifold<S>
impl<S> Unpin for Manifold<S>
impl<S> UnsafeUnpin for Manifold<S>
impl<S> UnwindSafe for Manifold<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