#[repr(u32)]pub enum EfInterpolation {
Bilinear = 0,
Nearest = 1,
Bicubic = 2,
Area = 3,
}Expand description
A resampling filter. C ef_interpolation in detect.h.
Variants§
Bilinear = 0
Bilinear (the default).
Nearest = 1
Nearest neighbour.
Bicubic = 2
Bicubic; the image library runs bilinear in its place.
Area = 3
Pixel-area averaging; the image library runs bilinear in its place.
Trait Implementations§
Source§impl Clone for EfInterpolation
impl Clone for EfInterpolation
impl Copy for EfInterpolation
Source§impl Debug for EfInterpolation
impl Debug for EfInterpolation
impl Eq for EfInterpolation
Source§impl PartialEq for EfInterpolation
impl PartialEq for EfInterpolation
impl StructuralPartialEq for EfInterpolation
Auto Trait Implementations§
impl Freeze for EfInterpolation
impl RefUnwindSafe for EfInterpolation
impl Send for EfInterpolation
impl Sync for EfInterpolation
impl Unpin for EfInterpolation
impl UnsafeUnpin for EfInterpolation
impl UnwindSafe for EfInterpolation
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