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

pub struct ShapeDescriptor<'a, U, G: Geometry, M: Material> {
    pub geometry: &'a G,
    pub materials: &'a mut [&'a mut M],
    pub is_exclusive: bool,
    pub shape_flags: ShapeFlags,
    pub user_data: U,
}

Fields

geometry: &'a Gmaterials: &'a mut [&'a mut M]is_exclusive: boolshape_flags: ShapeFlagsuser_data: U

Trait Implementations

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

type Target = Option<Owner<P::Shape>>

Auto Trait Implementations

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

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

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

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

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