pub struct Body {
pub mass: f64,
pub inertia: f64,
pub centre: f64,
}Expand description
A rigid body of the arm: its mass, its inertia about its own centre (about z), and its centre’s distance from the joint it turns about, along its link.
Fields§
§mass: f64§inertia: f64§centre: f64Trait Implementations§
impl Copy for Body
impl StructuralPartialEq for Body
Auto Trait Implementations§
impl Freeze for Body
impl RefUnwindSafe for Body
impl Send for Body
impl Sync for Body
impl Unpin for Body
impl UnsafeUnpin for Body
impl UnwindSafe for Body
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