[][src]Struct nphysics3d::material::LocalMaterialProperties

pub struct LocalMaterialProperties<N: RealField> {
    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

id: Option<MaterialId>

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

friction: (N, MaterialCombineMode)

The friction coefficient and its combination mode.

restitution: (N, MaterialCombineMode)

The restitution coefficient and its combination mode.

surface_velocity: Vector<N>

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, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

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

type Error = Infallible

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> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto 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> Downcast for T where
    T: Any
[src]

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same for T

type Output = T

Should always be Self