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

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

Fields

transform: PxTransformgeometry: &'a Gmaterial: &'a mut Mshape_transform: PxTransformuser_data: U

Trait Implementations

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

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

Auto Trait Implementations

impl<'a, U, G, M> RefUnwindSafe for RigidStaticDescriptor<'a, U, G, M> where
    G: RefUnwindSafe,
    M: RefUnwindSafe,
    U: RefUnwindSafe
[src]

impl<'a, U, G, M> Send for RigidStaticDescriptor<'a, U, G, M> where
    G: Sync,
    M: Send,
    U: Send
[src]

impl<'a, U, G, M> Sync for RigidStaticDescriptor<'a, U, G, M> where
    G: Sync,
    M: Sync,
    U: Sync
[src]

impl<'a, U, G, M> Unpin for RigidStaticDescriptor<'a, U, G, M> where
    U: Unpin
[src]

impl<'a, U, G, M> !UnwindSafe for RigidStaticDescriptor<'a, U, G, M>[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.