[][src]Struct nphysics2d::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> Unpin for LocalMaterialProperties<N> where
    N: Scalar + Unpin

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

impl<N> RefUnwindSafe for LocalMaterialProperties<N> where
    N: RefUnwindSafe + Scalar

impl<N> UnwindSafe for LocalMaterialProperties<N> where
    N: Scalar + UnwindSafe

Blanket Implementations

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> Downcast for T where
    T: Any

impl<T> Same<T> for T

type Output = T

Should always be Self

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