Struct physx::traits::descriptor::RigidDynamicDescriptor
source · [−]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: PxTransform
geometry: &'a G
material: &'a mut M
density: f32
shape_transform: PxTransform
user_data: U
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more