#[non_exhaustive]pub enum PathCurve {
Two(Curve2),
Three(Curve3),
Offset(Box<PathOffset>),
}Expand description
The curve under a PathPiece.
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.
Two(Curve2)
An atomic 2D curve, lying in z = 0.
Three(Curve3)
An atomic 3D curve.
Offset(Box<PathOffset>)
An offset of a base piece (#289), measured in its own length; see the module documentation.
Implementations§
Trait Implementations§
impl StructuralPartialEq for PathCurve
Auto Trait Implementations§
impl Freeze for PathCurve
impl RefUnwindSafe for PathCurve
impl Send for PathCurve
impl Sync for PathCurve
impl Unpin for PathCurve
impl UnsafeUnpin for PathCurve
impl UnwindSafe for PathCurve
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