[][src]Struct rg3d_physics::contact::Contact

pub struct Contact {
    pub body: Handle<RigidBody>,
    pub position: Vec3,
    pub normal: Vec3,
    pub triangle_index: u32,
    pub static_geom: Handle<StaticGeometry>,
}

Fields

body: Handle<RigidBody>position: Vec3normal: Vec3triangle_index: u32static_geom: Handle<StaticGeometry>

Trait Implementations

impl Debug for Contact[src]

impl Default for Contact[src]

impl Visit for Contact[src]

Auto Trait Implementations

impl RefUnwindSafe for Contact

impl Send for Contact

impl Sync for Contact

impl Unpin for Contact

impl UnwindSafe for Contact

Blanket Implementations

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

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

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

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Visit for T where
    T: FieldData + 'static, 
[src]