[][src]Enum arrayfire::InterpType

#[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 Copy for InterpType[src]

impl Debug for InterpType[src]

impl From<u32> for InterpType[src]

impl PartialEq<InterpType> for InterpType[src]

impl StructuralPartialEq for InterpType[src]

Auto Trait Implementations

impl RefUnwindSafe for InterpType

impl Send for InterpType

impl Sync for InterpType

impl Unpin for InterpType

impl UnwindSafe for InterpType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.