[][src]Struct physx::traits::descriptor::MaterialDescriptor

pub struct MaterialDescriptor<U> {
    pub static_friction: f32,
    pub dynamic_friction: f32,
    pub restitution: f32,
    pub user_data: U,
}

Fields

static_friction: f32dynamic_friction: f32restitution: f32user_data: U

Trait Implementations

impl<P: Physics> Descriptor<P> for MaterialDescriptor<<<<P as Physics>::Shape as Shape>::Material as UserData>::UserData>[src]

type Target = Option<Owner<<<P as Physics>::Shape as Shape>::Material>>

Auto Trait Implementations

impl<U> RefUnwindSafe for MaterialDescriptor<U> where
    U: RefUnwindSafe
[src]

impl<U> Send for MaterialDescriptor<U> where
    U: Send
[src]

impl<U> Sync for MaterialDescriptor<U> where
    U: Sync
[src]

impl<U> Unpin for MaterialDescriptor<U> where
    U: Unpin
[src]

impl<U> UnwindSafe for MaterialDescriptor<U> where
    U: UnwindSafe
[src]

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.