[][src]Struct linear_sim::event::CollisionResolve

pub struct CollisionResolve {
    pub toi: Normalized<f64>,
    pub object_id_a: Identifier,
    pub object_id_b: Identifier,
    pub contact: Colliding,
    pub impulse_normal_a: Vector3<f64>,
    pub impulse_normal_b: Vector3<f64>,
    pub impulse_tangent_a: Vector3<f64>,
    pub impulse_tangent_b: Vector3<f64>,
    pub pseudo_impulse_a: Vector3<f64>,
    pub pseudo_impulse_b: Vector3<f64>,
}

A TOI collision

Fields

toi: Normalized<f64>object_id_a: Identifierobject_id_b: Identifiercontact: Collidingimpulse_normal_a: Vector3<f64>impulse_normal_b: Vector3<f64>impulse_tangent_a: Vector3<f64>impulse_tangent_b: Vector3<f64>pseudo_impulse_a: Vector3<f64>pseudo_impulse_b: Vector3<f64>

Trait Implementations

impl PartialEq<CollisionResolve> for CollisionResolve[src]

impl From<CollisionResolve> for Output[src]

Convert into CollisionResolve variant.

impl Clone for CollisionResolve[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for CollisionResolve[src]

Auto Trait Implementations

impl Send for CollisionResolve

impl Sync for CollisionResolve

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self