#[non_exhaustive]pub enum ContourInterpolation {
Linear,
CubicAlpha(CubicAlphaOptions),
}Expand description
Scalar interpolation model used for contour construction.
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.
Linear
Exact piecewise-affine interpolation within each elementary triangle.
CubicAlpha(CubicAlphaOptions)
Edge-derived cubic-alpha interpolation; requires the cubic-alpha feature.
Trait Implementations§
Source§impl Clone for ContourInterpolation
impl Clone for ContourInterpolation
Source§fn clone(&self) -> ContourInterpolation
fn clone(&self) -> ContourInterpolation
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 moreimpl Copy for ContourInterpolation
Source§impl Debug for ContourInterpolation
impl Debug for ContourInterpolation
Source§impl PartialEq for ContourInterpolation
impl PartialEq for ContourInterpolation
impl StructuralPartialEq for ContourInterpolation
Auto Trait Implementations§
impl Freeze for ContourInterpolation
impl RefUnwindSafe for ContourInterpolation
impl Send for ContourInterpolation
impl Sync for ContourInterpolation
impl Unpin for ContourInterpolation
impl UnsafeUnpin for ContourInterpolation
impl UnwindSafe for ContourInterpolation
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