pub enum InterpolationMethod {
Tetrahedral,
Pyramid,
Prism,
Linear,
}
Expand description
Defines the interpolation method.
All methods produce very close results that almost not possible to separate without some automation tools.
This implementation chooses the fastest method as default.
Variants§
Tetrahedral
General Tetrahedron interpolation. This is used in lcms2 and others CMS.
Pyramid
Divides cube into a pyramids and interpolate then in the pyramid.
Prism
Interpolation by dividing cube into prisms.
Linear
Trilinear/Quadlinear interpolation
Trait Implementations§
Source§impl Clone for InterpolationMethod
impl Clone for InterpolationMethod
Source§fn clone(&self) -> InterpolationMethod
fn clone(&self) -> InterpolationMethod
Returns a copy of the value. Read more
1.0.0 · 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 InterpolationMethod
impl Debug for InterpolationMethod
Source§impl Default for InterpolationMethod
impl Default for InterpolationMethod
Source§fn default() -> InterpolationMethod
fn default() -> InterpolationMethod
Returns the “default value” for a type. Read more
Source§impl Hash for InterpolationMethod
impl Hash for InterpolationMethod
Source§impl Ord for InterpolationMethod
impl Ord for InterpolationMethod
Source§fn cmp(&self, other: &InterpolationMethod) -> Ordering
fn cmp(&self, other: &InterpolationMethod) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InterpolationMethod
impl PartialEq for InterpolationMethod
Source§impl PartialOrd for InterpolationMethod
impl PartialOrd for InterpolationMethod
impl Copy for InterpolationMethod
impl Eq for InterpolationMethod
impl StructuralPartialEq for InterpolationMethod
Auto Trait Implementations§
impl Freeze for InterpolationMethod
impl RefUnwindSafe for InterpolationMethod
impl Send for InterpolationMethod
impl Sync for InterpolationMethod
impl Unpin for InterpolationMethod
impl UnwindSafe for InterpolationMethod
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