Enum pic_scale::ResamplingFunction
source · pub enum ResamplingFunction {
Show 37 variants
Bilinear,
Nearest,
Cubic,
MitchellNetravalli,
CatmullRom,
Hermite,
BSpline,
Hann,
Bicubic,
Hamming,
Hanning,
EwaHanning,
Blackman,
EwaBlackman,
Welch,
Quadric,
EwaQuadric,
Gaussian,
Sphinx,
Bartlett,
Robidoux,
EwaRobidoux,
RobidouxSharp,
EwaRobidouxSharp,
Spline16,
Spline36,
Spline64,
Kaiser,
BartlettHann,
Box,
Bohman,
Lanczos2,
Lanczos3,
Lanczos4,
Lanczos2Jinc,
Lanczos3Jinc,
Lanczos4Jinc,
}Variants§
Bilinear
Nearest
Cubic
MitchellNetravalli
CatmullRom
Hermite
BSpline
Hann
Bicubic
Hamming
Hanning
EwaHanning
Blackman
EwaBlackman
Welch
Quadric
EwaQuadric
Gaussian
Sphinx
Bartlett
Robidoux
EwaRobidoux
RobidouxSharp
EwaRobidouxSharp
Spline16
Spline36
Spline64
Kaiser
BartlettHann
Box
Bohman
Lanczos2
Lanczos3
Lanczos4
Lanczos2Jinc
Lanczos3Jinc
Lanczos4Jinc
Implementations§
source§impl ResamplingFunction
impl ResamplingFunction
pub fn get_resampling_filter(&self) -> ResamplingFilter
Trait Implementations§
source§impl Clone for ResamplingFunction
impl Clone for ResamplingFunction
source§fn clone(&self) -> ResamplingFunction
fn clone(&self) -> ResamplingFunction
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 ResamplingFunction
impl Debug for ResamplingFunction
source§impl Default for ResamplingFunction
impl Default for ResamplingFunction
source§fn default() -> ResamplingFunction
fn default() -> ResamplingFunction
Returns the “default value” for a type. Read more
source§impl From<u32> for ResamplingFunction
impl From<u32> for ResamplingFunction
source§impl Ord for ResamplingFunction
impl Ord for ResamplingFunction
source§fn cmp(&self, other: &ResamplingFunction) -> Ordering
fn cmp(&self, other: &ResamplingFunction) -> 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 ResamplingFunction
impl PartialEq for ResamplingFunction
source§fn eq(&self, other: &ResamplingFunction) -> bool
fn eq(&self, other: &ResamplingFunction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ResamplingFunction
impl PartialOrd for ResamplingFunction
source§fn partial_cmp(&self, other: &ResamplingFunction) -> Option<Ordering>
fn partial_cmp(&self, other: &ResamplingFunction) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for ResamplingFunction
impl Eq for ResamplingFunction
impl StructuralPartialEq for ResamplingFunction
Auto Trait Implementations§
impl Freeze for ResamplingFunction
impl RefUnwindSafe for ResamplingFunction
impl Send for ResamplingFunction
impl Sync for ResamplingFunction
impl Unpin for ResamplingFunction
impl UnwindSafe for ResamplingFunction
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more