pub struct GenevaWheel {
pub slots: usize,
pub centre_distance: f64,
pub pin_diameter: f64,
pub clearance: f64,
pub lock_radius: f64,
pub width: f64,
}Expand description
An external Geneva wheel of slots slots for a driver at centre_distance
whose pin of pin_diameter runs on the crank radius a sin(pi / n); the
wheel’s radius is a cos(pi / n) (the pin enters the slot tangentially). The
rim between slots is cut by the concave locking arc of radius
lock_radius + clearance / 2 about the driver’s centre.
Fields§
§slots: usize§centre_distance: f64§pin_diameter: f64§clearance: f64§lock_radius: f64The driver’s locking disc radius; 0 = crank radius − pin diameter.
width: f64Trait Implementations§
Source§impl Clone for GenevaWheel
impl Clone for GenevaWheel
Source§fn clone(&self) -> GenevaWheel
fn clone(&self) -> GenevaWheel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Forget for GenevaWheel
impl Freeze for GenevaWheel
impl Move for GenevaWheel
impl RefUnwindSafe for GenevaWheel
impl Send for GenevaWheel
impl Sync for GenevaWheel
impl Unpin for GenevaWheel
impl UnsafeUnpin for GenevaWheel
impl UnwindSafe for GenevaWheel
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