pub struct Coupling {
pub name: String,
pub kind: CouplingKind,
pub a: usize,
pub b: usize,
}Expand description
A coupling of the mechanism: its second joint’s coordinate following
its first’s, by index in Mechanism::joints.
Fields§
§name: String§kind: CouplingKind§a: usize§b: usizeAuto Trait Implementations§
impl Freeze for Coupling
impl RefUnwindSafe for Coupling
impl Send for Coupling
impl Sync for Coupling
impl Unpin for Coupling
impl UnsafeUnpin for Coupling
impl UnwindSafe for Coupling
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