pub struct Ratchet {
pub teeth: usize,
pub outside: f64,
pub depth: f64,
pub lean: f64,
pub symmetric: bool,
pub clockwise_locks: bool,
pub width: f64,
}Expand description
A ratchet wheel: teeth teeth on outside diameter, depth deep. A saw
tooth has a locking face (leaning lean back from radial, so a pawl is drawn
in under load) and a straight back; a symmetric tooth leans both faces
equally (for a reversible pawl). Teeth lock against counter-clockwise turning
when clockwise_locks is false.
Fields§
§teeth: usize§outside: f64§depth: f64§lean: f64§symmetric: bool§clockwise_locks: bool§width: f64Trait Implementations§
Auto Trait Implementations§
impl Forget for Ratchet
impl Freeze for Ratchet
impl Move for Ratchet
impl RefUnwindSafe for Ratchet
impl Send for Ratchet
impl Sync for Ratchet
impl Unpin for Ratchet
impl UnsafeUnpin for Ratchet
impl UnwindSafe for Ratchet
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