#[non_exhaustive]pub enum KnotSpec {
Uniform,
QuasiUniform,
PiecewiseBezier,
Unspecified,
}Expand description
How the knot vector was specified by the source representation.
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.
Uniform
Uniform spacing, not necessarily clamped.
QuasiUniform
Quasi-uniform spacing with clamped ends.
PiecewiseBezier
Piecewise Bezier knot multiplicities.
Unspecified
Explicit knots and multiplicities.
Trait Implementations§
impl Copy for KnotSpec
impl Eq for KnotSpec
impl StructuralPartialEq for KnotSpec
Auto Trait Implementations§
impl Freeze for KnotSpec
impl RefUnwindSafe for KnotSpec
impl Send for KnotSpec
impl Sync for KnotSpec
impl Unpin for KnotSpec
impl UnwindSafe for KnotSpec
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