pub struct Mechanism<'a> {
pub bodies: Vec<Body<'a>>,
pub constraints: Vec<(String, [Option<usize>; 2])>,
pub joints: Vec<MechanismJoint>,
pub couplings: Vec<Coupling>,
}Expand description
The rigid bodies of an assembly and its mates between them, as the part a reader reads has them: the bodies in the order they were placed, the constraints — by name, and the bodies of their two entities — the joints and the couplings each in the order the steps made them.
Fields§
§bodies: Vec<Body<'a>>§constraints: Vec<(String, [Option<usize>; 2])>§joints: Vec<MechanismJoint>§couplings: Vec<Coupling>Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Mechanism<'a>
impl<'a> !Send for Mechanism<'a>
impl<'a> !Sync for Mechanism<'a>
impl<'a> !UnwindSafe for Mechanism<'a>
impl<'a> Freeze for Mechanism<'a>
impl<'a> Unpin for Mechanism<'a>
impl<'a> UnsafeUnpin for Mechanism<'a>
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