pub struct MechanismJoint {
pub name: String,
pub kind: JointKind,
pub a: End,
pub b: End,
pub angle: Scalar,
pub distance: Scalar,
}Expand description
A joint of the mechanism, at the coordinates the state has: the angle in degrees, and the distance.
Fields§
§name: String§kind: JointKind§a: End§b: End§angle: Scalar§distance: ScalarAuto Trait Implementations§
impl Freeze for MechanismJoint
impl RefUnwindSafe for MechanismJoint
impl Send for MechanismJoint
impl Sync for MechanismJoint
impl Unpin for MechanismJoint
impl UnsafeUnpin for MechanismJoint
impl UnwindSafe for MechanismJoint
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