pub struct BodyNode {
pub id: String,
pub mass: f64,
pub payload: f64,
pub axes: Vec<bool>,
pub rotaries: Vec<usize>,
pub offset: [f64; 3],
}Fields§
§id: String§mass: f64§payload: f64§axes: Vec<bool>§rotaries: Vec<usize>The rotary axes it rides on, outermost first, and its centre of mass from where their axes meet at angle 0.
offset: [f64; 3]Auto Trait Implementations§
impl Freeze for BodyNode
impl RefUnwindSafe for BodyNode
impl Send for BodyNode
impl Sync for BodyNode
impl Unpin for BodyNode
impl UnsafeUnpin for BodyNode
impl UnwindSafe for BodyNode
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