pub enum ExtrudeStart {
ProfilePlane,
OffsetProfilePlane {
offset: Length,
},
FromFace {
face: FaceSelection,
offset: Option<Length>,
},
}Expand description
Start condition of a linear extrusion.
Variants§
ProfilePlane
Begin on the profile’s own plane.
OffsetProfilePlane
Begin on a plane parallel to the profile plane at a signed offset.
FromFace
Begin on a selected face, optionally displaced along the extrusion direction.
Fields
§
face: FaceSelectionFace defining the start plane.
Trait Implementations§
Source§impl Clone for ExtrudeStart
impl Clone for ExtrudeStart
Source§fn clone(&self) -> ExtrudeStart
fn clone(&self) -> ExtrudeStart
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 ExtrudeStart
impl Debug for ExtrudeStart
Source§impl Default for ExtrudeStart
impl Default for ExtrudeStart
Source§fn default() -> ExtrudeStart
fn default() -> ExtrudeStart
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExtrudeStart
impl<'de> Deserialize<'de> for ExtrudeStart
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 JsonSchema for ExtrudeStart
impl JsonSchema for ExtrudeStart
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ExtrudeStart
impl PartialEq for ExtrudeStart
Source§impl Serialize for ExtrudeStart
impl Serialize for ExtrudeStart
impl StructuralPartialEq for ExtrudeStart
Auto Trait Implementations§
impl Freeze for ExtrudeStart
impl RefUnwindSafe for ExtrudeStart
impl Send for ExtrudeStart
impl Sync for ExtrudeStart
impl Unpin for ExtrudeStart
impl UnsafeUnpin for ExtrudeStart
impl UnwindSafe for ExtrudeStart
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