pub struct StraightSpline {
pub teeth: usize,
pub minor: f64,
pub major: f64,
pub key_width: f64,
pub length: f64,
}Expand description
A straight-sided spline (ISO 14 form: teeth keys of width key_width
between the minor diameter minor and the major diameter major).
Fields§
§teeth: usize§minor: f64§major: f64§key_width: f64§length: f64Trait Implementations§
Source§impl Clone for StraightSpline
impl Clone for StraightSpline
Source§fn clone(&self) -> StraightSpline
fn clone(&self) -> StraightSpline
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 StraightSpline
impl Freeze for StraightSpline
impl Move for StraightSpline
impl RefUnwindSafe for StraightSpline
impl Send for StraightSpline
impl Sync for StraightSpline
impl Unpin for StraightSpline
impl UnsafeUnpin for StraightSpline
impl UnwindSafe for StraightSpline
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