pub enum Drive {
Geneva {
lambda: f64,
crank_radius: f64,
},
Cam {
pitch_radius: f64,
cam_radius: Option<f64>,
},
}Expand description
How the driver moves the wheel.
Variants§
Geneva
A Geneva wheel: lambda = a / C = sin(pi / n), and the crank’s radius a.
Cam
A cam index drive with the modified sine, its rollers on pitch_radius.
Trait Implementations§
impl Copy for Drive
impl StructuralPartialEq for Drive
Auto Trait Implementations§
impl Freeze for Drive
impl RefUnwindSafe for Drive
impl Send for Drive
impl Sync for Drive
impl Unpin for Drive
impl UnsafeUnpin for Drive
impl UnwindSafe for Drive
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