pub struct Tree {
pub links: Vec<LinkBodies>,
pub joints: Vec<TreeJoint>,
}Expand description
The links of a mechanism and the joints between them.
Fields§
§links: Vec<LinkBodies>The root first — the ground, and every body held to it — then each link after the one its joint carries it on.
joints: Vec<TreeJoint>The joint carrying each link but the root, in the order of
Tree::links.
Trait Implementations§
impl StructuralPartialEq for Tree
Auto Trait Implementations§
impl Freeze for Tree
impl RefUnwindSafe for Tree
impl Send for Tree
impl Sync for Tree
impl Unpin for Tree
impl UnsafeUnpin for Tree
impl UnwindSafe for Tree
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