pub struct Shaft {
pub upper_z: f64,
pub lower_offset: f64,
pub min_length: f64,
pub max_length: f64,
pub max_angle: f64,
}Expand description
The telescopic shaft between its two cardan joints.
Fields§
§upper_z: f64The upper joint’s height on the base’s axis, and the lower joint’s above the platform’s centre, m.
lower_offset: f64§min_length: f64Shortest and longest the telescope can be, m; the largest bend of a joint, rad.
max_length: f64§max_angle: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Shaft
impl RefUnwindSafe for Shaft
impl Send for Shaft
impl Sync for Shaft
impl Unpin for Shaft
impl UnsafeUnpin for Shaft
impl UnwindSafe for Shaft
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