Struct physx_sys::PxMassProperties
source · #[repr(C)]pub struct PxMassProperties {
pub inertiaTensor: PxMat33,
pub centerOfMass: PxVec3,
pub mass: f32,
}
Fields§
§inertiaTensor: PxMat33
§centerOfMass: PxVec3
§mass: f32
Trait Implementations§
source§impl Clone for PxMassProperties
impl Clone for PxMassProperties
source§fn clone(&self) -> PxMassProperties
fn clone(&self) -> PxMassProperties
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PxMassProperties
Auto Trait Implementations§
impl RefUnwindSafe for PxMassProperties
impl Send for PxMassProperties
impl Sync for PxMassProperties
impl Unpin for PxMassProperties
impl UnwindSafe for PxMassProperties
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more