pub struct Inertial {
pub mass: f64,
pub center: [f64; 3],
pub inertia: [[f64; 3]; 3],
}Expand description
A link’s mass (kg), centre of mass in its frame (m), and inertia tensor about the centre along its frame’s axes (kg·m²).
Fields§
§mass: f64§center: [f64; 3]§inertia: [[f64; 3]; 3]Trait Implementations§
impl Copy for Inertial
impl StructuralPartialEq for Inertial
Auto Trait Implementations§
impl Freeze for Inertial
impl RefUnwindSafe for Inertial
impl Send for Inertial
impl Sync for Inertial
impl Unpin for Inertial
impl UnsafeUnpin for Inertial
impl UnwindSafe for Inertial
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