[][src]Struct physx::physics::PxPhysics

#[repr(transparent)]pub struct PxPhysics<Geom: Shape> { /* fields omitted */ }

A new type wrapper for PxPhysics. Parametrized by the type of the Shapes it can create.

Implementations

impl<Geom: Shape> PxPhysics<Geom>[src]

pub fn new(foundation: &mut impl Foundation) -> Option<Owner<Self>>[src]

Trait Implementations

impl<T, Geom: Shape> Class<T> for PxPhysics<Geom> where
    PxPhysics: Class<T>, 
[src]

impl<Geom: Shape> Drop for PxPhysics<Geom>[src]

impl<Geom: Shape> Physics for PxPhysics<Geom>[src]

type Shape = Geom

impl<Geom: Shape + Send> Send for PxPhysics<Geom>[src]

impl<Geom: Shape + Sync> Sync for PxPhysics<Geom>[src]

Auto Trait Implementations

impl<Geom> RefUnwindSafe for PxPhysics<Geom> where
    Geom: RefUnwindSafe
[src]

impl<Geom> Unpin for PxPhysics<Geom> where
    Geom: Unpin
[src]

impl<Geom> UnwindSafe for PxPhysics<Geom> where
    Geom: 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.