#[non_exhaustive]pub enum LocalSweepPath {
#[non_exhaustive] Extrusion {
direction: [f64; 3],
depth: f64,
},
#[non_exhaustive] Revolution {
axis_origin: [f64; 3],
axis_direction: [f64; 3],
angle: f64,
},
#[non_exhaustive] Directrix {
directrix: EntityId,
},
}Expand description
The path of a swept-area solid, in its Position frame.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
#[non_exhaustive]Extrusion
A straight extrusion (plain or tapered).
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
#[non_exhaustive]Revolution
A revolution about an axis (plain or tapered).
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
#[non_exhaustive]Directrix
A sweep along a directrix curve, reported by reference.
The curve and its StartParam/EndParam live in the directrix’s own
parameterisation; reading them is a curve question, not a body one.
Trait Implementations§
Source§impl Clone for LocalSweepPath
impl Clone for LocalSweepPath
Source§fn clone(&self) -> LocalSweepPath
fn clone(&self) -> LocalSweepPath
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 LocalSweepPath
impl Debug for LocalSweepPath
Source§impl PartialEq for LocalSweepPath
impl PartialEq for LocalSweepPath
impl StructuralPartialEq for LocalSweepPath
Auto Trait Implementations§
impl Freeze for LocalSweepPath
impl RefUnwindSafe for LocalSweepPath
impl Send for LocalSweepPath
impl Sync for LocalSweepPath
impl Unpin for LocalSweepPath
impl UnsafeUnpin for LocalSweepPath
impl UnwindSafe for LocalSweepPath
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