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

pub struct RigidDynamicDescriptor<'a, U, G: Geometry, M: Material> {
    pub transform: PxTransform,
    pub geometry: &'a G,
    pub material: &'a mut M,
    pub density: f32,
    pub shape_transform: PxTransform,
    pub user_data: U,
}

Fields

transform: PxTransformgeometry: &'a Gmaterial: &'a mut Mdensity: f32shape_transform: PxTransformuser_data: U

Trait Implementations

impl<P: Physics, U, G: Geometry> Descriptor<P> for RigidDynamicDescriptor<'_, U, G, <P::Shape as Shape>::Material>[src]

type Target = Option<Owner<PxRigidDynamic<U, P::Shape>>>

Auto Trait Implementations

impl<'a, U, G, M> RefUnwindSafe for RigidDynamicDescriptor<'a, U, G, M> where
    G: RefUnwindSafe,
    M: RefUnwindSafe,
    U: RefUnwindSafe

impl<'a, U, G, M> Send for RigidDynamicDescriptor<'a, U, G, M> where
    G: Sync,
    M: Send,
    U: Send

impl<'a, U, G, M> Sync for RigidDynamicDescriptor<'a, U, G, M> where
    G: Sync,
    M: Sync,
    U: Sync

impl<'a, U, G, M> Unpin for RigidDynamicDescriptor<'a, U, G, M> where
    U: Unpin

impl<'a, U, G, M> !UnwindSafe for RigidDynamicDescriptor<'a, U, G, M>

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.