pub enum Standard {
Iso {
size: String,
fit: Fit,
},
Npt {
size: String,
},
Custom {
diameter: f64,
head_diameter: f64,
head_depth: f64,
},
}Expand description
How a hole is sized: by an ISO metric screw — size M6, and for a
clearance hole how loose a fit — by an NPT pipe thread, size 1/2,
for a tapped hole, or by hand.
Variants§
Iso
Npt
Custom
The drill’s diameter; for a counterbore or countersink the head’s
diameter on the face, and for a counterbore its depth.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Standard
impl<'de> Deserialize<'de> for Standard
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Standard
Auto Trait Implementations§
impl Freeze for Standard
impl RefUnwindSafe for Standard
impl Send for Standard
impl Sync for Standard
impl Unpin for Standard
impl UnsafeUnpin for Standard
impl UnwindSafe for Standard
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