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
sourceimpl Clone for PxMassProperties
impl Clone for PxMassProperties
sourcefn clone(&self) -> PxMassProperties
fn clone(&self) -> PxMassProperties
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const 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
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