pub struct ExtrudeArgs {
pub sketch: String,
pub distance: f64,
pub symmetric: bool,
pub combine: Combine,
}Fields§
§sketch: StringThe sketch to extrude.
distance: f64How far, along the sketch plane’s normal; backwards if negative.
symmetric: boolCentre the solid on the sketch plane: extrude half the distance to either side.
combine: CombineKeep the solid as a new body, or combine it with another solid.
Trait Implementations§
Source§impl Clone for ExtrudeArgs
impl Clone for ExtrudeArgs
Source§fn clone(&self) -> ExtrudeArgs
fn clone(&self) -> ExtrudeArgs
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 ExtrudeArgs
impl Debug for ExtrudeArgs
Source§impl<'de> Deserialize<'de> for ExtrudeArgs
impl<'de> Deserialize<'de> for ExtrudeArgs
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 From<ExtrudeArgs> for PartOperation
impl From<ExtrudeArgs> for PartOperation
Source§fn from(args: ExtrudeArgs) -> Self
fn from(args: ExtrudeArgs) -> Self
Converts to this type from the input type.
Source§impl OperationArgs for ExtrudeArgs
impl OperationArgs for ExtrudeArgs
Source§impl PartialEq for ExtrudeArgs
impl PartialEq for ExtrudeArgs
Source§fn eq(&self, other: &ExtrudeArgs) -> bool
fn eq(&self, other: &ExtrudeArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExtrudeArgs
impl Serialize for ExtrudeArgs
impl StructuralPartialEq for ExtrudeArgs
Auto Trait Implementations§
impl Freeze for ExtrudeArgs
impl RefUnwindSafe for ExtrudeArgs
impl Send for ExtrudeArgs
impl Sync for ExtrudeArgs
impl Unpin for ExtrudeArgs
impl UnsafeUnpin for ExtrudeArgs
impl UnwindSafe for ExtrudeArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more