pub struct DraftArgs {
pub faces: Vec<ElementReference<NamedModel, Face>>,
pub neutral: Option<SketchPlane>,
pub angle: f64,
pub reversed: bool,
}Fields§
§faces: Vec<ElementReference<NamedModel, Face>>The faces to tilt, all planar, all of one solid.
neutral: Option<SketchPlane>The plane they tilt about: a planar face, a datum plane, a sketch’s plane.
angle: f64How far they tilt, in degrees.
reversed: boolPull the other way.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DraftArgs
impl<'de> Deserialize<'de> for DraftArgs
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 StepArgs for DraftArgs
impl StepArgs for DraftArgs
Source§const KIND: &'static str = <Draft as ::geop_core_editor::part_operation::PartOperation>::KIND
const KIND: &'static str = <Draft as ::geop_core_editor::part_operation::PartOperation>::KIND
The kind of the operation they are for (see
Operation::KIND).impl StructuralPartialEq for DraftArgs
Auto Trait Implementations§
impl Freeze for DraftArgs
impl RefUnwindSafe for DraftArgs
impl Send for DraftArgs
impl Sync for DraftArgs
impl Unpin for DraftArgs
impl UnsafeUnpin for DraftArgs
impl UnwindSafe for DraftArgs
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