[][src]Struct nphysics2d::material::LocalMaterialProperties

pub struct LocalMaterialProperties<N: Real> {
    pub id: Option<MaterialId>,
    pub friction: (N, MaterialCombineMode),
    pub restitution: (N, MaterialCombineMode),
    pub surface_velocity: Vector<N>,
}

Computed material properties at a contact point.

Fields

The optional material identifier used for pairwise material coefficient lookup table.

The friction coefficient and its combination mode.

The restitution coefficient and its combination mode.

The surface velocity at this point.

Auto Trait Implementations

impl<N> Send for LocalMaterialProperties<N> where
    N: Scalar

impl<N> Sync for LocalMaterialProperties<N> where
    N: Scalar

Blanket Implementations

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Downcast for T where
    T: Any

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 

impl<T> Same for T

Should always be Self