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

pub struct PlaneDescriptor<'a, U, M: Material> {
    pub normal: PxVec3,
    pub offset: f32,
    pub material: &'a mut M,
    pub user_data: U,
}

Fields

normal: PxVec3offset: f32material: &'a mut Muser_data: U

Trait Implementations

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

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

Auto Trait Implementations

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

impl<'a, U, M> Send for PlaneDescriptor<'a, U, M> where
    M: Send,
    U: Send
[src]

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

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

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