Enum arrayfire::InterpType
[−]
[src]
#[repr(C)]pub enum InterpType { NEAREST, LINEAR, BILINEAR, CUBIC, LOWER, LINEAR_COSINE, BILINEAR_COSINE, BICUBIC, CUBIC_SPLINE, BICUBIC_SPLINE, }
Dictates the interpolation method to be used by a function
Variants
NEAREST
Nearest Neighbor interpolation method
LINEAR
Linear interpolation method
BILINEAR
Bilinear interpolation method
CUBIC
Cubic interpolation method
LOWER
Floor indexed
LINEAR_COSINE
Linear interpolation with cosine smoothing
BILINEAR_COSINE
Bilinear interpolation with cosine smoothing
BICUBIC
Bicubic interpolation
CUBIC_SPLINE
Cubic interpolation with Catmull-Rom splines
BICUBIC_SPLINE
Bicubic interpolation with Catmull-Rom splines
Trait Implementations
impl Clone for InterpType
[src]
fn clone(&self) -> InterpType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for InterpType
[src]
impl Debug for InterpType
[src]
impl PartialEq for InterpType
[src]
fn eq(&self, __arg_0: &InterpType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl From<i32> for InterpType
[src]
fn from(t: i32) -> InterpType
Performs the conversion.