#[non_exhaustive]pub enum PathBound {
Parameter(Scalar),
Point(Point3),
}Expand description
Where a PathPiece starts or ends when its distance is not stated
(#304): the evaluator resolves it to a distance in the curve’s station
measure; see the
module documentation.
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.
Parameter(Scalar)
At the curve’s native parameter (a closed conic’s angle, a
B-spline’s knot-domain parameter, a polyline’s segment index plus
fraction, a line’s t along its direction).
Point(Point3)
At the point of the curve, in the curve’s own coordinates (before
the piece’s placement; z = 0 on a 2D curve). It must lie on the
curve, and only one parameter may name it.
Trait Implementations§
impl Copy for PathBound
impl StructuralPartialEq for PathBound
Auto Trait Implementations§
impl Freeze for PathBound
impl RefUnwindSafe for PathBound
impl Send for PathBound
impl Sync for PathBound
impl Unpin for PathBound
impl UnsafeUnpin for PathBound
impl UnwindSafe for PathBound
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