pub struct MetricSize {
pub name: &'static str,
pub diameter: f64,
pub pitch: f64,
pub tap_drill: f64,
pub clearance: [f64; 3],
pub counterbore: f64,
pub countersink: Option<f64>,
}Expand description
One size of the coarse series.
Fields§
§name: &'static strM6.
diameter: f64The nominal (major) diameter.
pitch: f64§tap_drill: f64§clearance: [f64; 3]Close, normal and loose clearance holes.
counterbore: f64The counterbore’s diameter; its depth is the head height, diameter.
countersink: Option<f64>The countersink’s diameter, if ISO 15065 gives one.
Implementations§
Source§impl MetricSize
impl MetricSize
Sourcepub fn minor_diameter(&self) -> f64
pub fn minor_diameter(&self) -> f64
The basic minor diameter, ISO 724: D - 5/4 H, twice over.
Sourcepub fn designation(&self) -> String
pub fn designation(&self) -> String
How the thread is called: M6x1.
Trait Implementations§
Source§impl Clone for MetricSize
impl Clone for MetricSize
Source§fn clone(&self) -> MetricSize
fn clone(&self) -> MetricSize
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 moreimpl Copy for MetricSize
Source§impl Debug for MetricSize
impl Debug for MetricSize
Source§impl PartialEq for MetricSize
impl PartialEq for MetricSize
impl StructuralPartialEq for MetricSize
Auto Trait Implementations§
impl Freeze for MetricSize
impl RefUnwindSafe for MetricSize
impl Send for MetricSize
impl Sync for MetricSize
impl Unpin for MetricSize
impl UnsafeUnpin for MetricSize
impl UnwindSafe for MetricSize
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