Enum arrayfire::InterpType [−][src]
#[repr(u32)]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]
impl Clone for InterpType
fn clone(&self) -> InterpType
[src]
fn clone(&self) -> InterpType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for InterpType
[src]
impl Copy for InterpType
impl Debug for InterpType
[src]
impl Debug for InterpType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for InterpType
[src]
impl PartialEq for InterpType
fn eq(&self, other: &InterpType) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl From<u32> for InterpType
[src]
impl From<u32> for InterpType
fn from(t: u32) -> InterpType
[src]
fn from(t: u32) -> InterpType
Performs the conversion.
Auto Trait Implementations
impl Send for InterpType
impl Send for InterpType
impl Sync for InterpType
impl Sync for InterpType