#[non_exhaustive]pub enum SweepPath {
#[non_exhaustive] Extrusion {
direction_world: [f64; 3],
depth: f64,
},
#[non_exhaustive] Revolution {
axis_origin_world: [f64; 3],
axis_direction_world: [f64; 3],
angle: f64,
},
#[non_exhaustive] Directrix {
directrix: EntityId,
},
}Expand description
The path of a swept-area solid, in world coordinates.
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§
impl StructuralPartialEq for SweepPath
Auto Trait Implementations§
impl Freeze for SweepPath
impl RefUnwindSafe for SweepPath
impl Send for SweepPath
impl Sync for SweepPath
impl Unpin for SweepPath
impl UnsafeUnpin for SweepPath
impl UnwindSafe for SweepPath
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