pub struct LanternPinion {
pub pins: usize,
pub pin_circle_diameter: f64,
pub pin_diameter: f64,
pub disc_diameter: f64,
pub disc_thickness: f64,
pub length: f64,
}Expand description
A lantern pinion: two discs joined by pins round pins on a circle, as a clock’s or a mill’s pinion,
driven by a star wheel’s cycloidal teeth. Exact: pins and disc rims are cylinders, the disc faces planes.
The first disc spans z = -thickness..0, the pins z = 0..length, the second disc length..length + thickness;
pin 0 is centred on +x.
Fields§
§pins: usize§pin_circle_diameter: f64§pin_diameter: f64§disc_diameter: f64§disc_thickness: f64§length: f64The pins’ length between the discs.
Trait Implementations§
Source§impl Clone for LanternPinion
impl Clone for LanternPinion
Source§fn clone(&self) -> LanternPinion
fn clone(&self) -> LanternPinion
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 LanternPinion
impl Freeze for LanternPinion
impl Move for LanternPinion
impl RefUnwindSafe for LanternPinion
impl Send for LanternPinion
impl Sync for LanternPinion
impl Unpin for LanternPinion
impl UnsafeUnpin for LanternPinion
impl UnwindSafe for LanternPinion
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