pub struct ThreadArgs {
pub face: Option<FaceRef>,
pub size: String,
pub length: Option<f64>,
pub reversed: bool,
pub modelled: bool,
}Fields§
§face: Option<FaceRef>A round face of the wall to thread; none, for a step that has not picked it.
size: StringThe ISO metric size, M6, or the NPT size, 1/2 NPT.
length: Option<f64>How far it runs: the whole wall, if none.
reversed: boolStart from the other end of the wall.
modelled: boolCut the thread’s profile into the solid, rather than record it.
Trait Implementations§
Source§impl Clone for ThreadArgs
impl Clone for ThreadArgs
Source§fn clone(&self) -> ThreadArgs
fn clone(&self) -> ThreadArgs
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 moreSource§impl Debug for ThreadArgs
impl Debug for ThreadArgs
Source§impl<'de> Deserialize<'de> for ThreadArgs
impl<'de> Deserialize<'de> for ThreadArgs
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
Source§impl PartialEq for ThreadArgs
impl PartialEq for ThreadArgs
Source§impl Serialize for ThreadArgs
impl Serialize for ThreadArgs
Source§impl StepArgs for ThreadArgs
impl StepArgs for ThreadArgs
Source§const KIND: &'static str = <Thread as ::geop_core_editor::part_operation::PartOperation>::KIND
const KIND: &'static str = <Thread as ::geop_core_editor::part_operation::PartOperation>::KIND
The kind of the operation they are for (see
Operation::KIND).impl StructuralPartialEq for ThreadArgs
Auto Trait Implementations§
impl Freeze for ThreadArgs
impl RefUnwindSafe for ThreadArgs
impl Send for ThreadArgs
impl Sync for ThreadArgs
impl Unpin for ThreadArgs
impl UnsafeUnpin for ThreadArgs
impl UnwindSafe for ThreadArgs
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