#[non_exhaustive]pub enum ExactDirectrix {
Segment(Point3, Point3),
Arc(Circle3, Interval),
}Expand description
A directrix an exact swept disk can follow: one straight segment or one
circular arc (#223). Returned by crate::exact_directrix.
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.
Segment(Point3, Point3)
From the first point to the second.
Arc(Circle3, Interval)
Over an angle span of the circle, start to end.
Trait Implementations§
Source§impl Clone for ExactDirectrix
impl Clone for ExactDirectrix
Source§fn clone(&self) -> ExactDirectrix
fn clone(&self) -> ExactDirectrix
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 ExactDirectrix
impl Debug for ExactDirectrix
Source§impl PartialEq for ExactDirectrix
impl PartialEq for ExactDirectrix
impl StructuralPartialEq for ExactDirectrix
Auto Trait Implementations§
impl Freeze for ExactDirectrix
impl RefUnwindSafe for ExactDirectrix
impl Send for ExactDirectrix
impl Sync for ExactDirectrix
impl Unpin for ExactDirectrix
impl UnsafeUnpin for ExactDirectrix
impl UnwindSafe for ExactDirectrix
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