pub enum InterpMode {
Nearest,
Linear,
Cubic,
}Expand description
Interpolation strategy for reading between samples.
Variants§
Nearest
Nearest-neighbor interpolation.
Linear
Linear interpolation between samples.
Cubic
Cubic interpolation between samples.
Trait Implementations§
Source§impl Clone for InterpMode
impl Clone for InterpMode
Source§fn clone(&self) -> InterpMode
fn clone(&self) -> InterpMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InterpMode
Source§impl Debug for InterpMode
impl Debug for InterpMode
Source§impl PartialEq for InterpMode
impl PartialEq for InterpMode
impl StructuralPartialEq for InterpMode
Auto Trait Implementations§
impl Freeze for InterpMode
impl RefUnwindSafe for InterpMode
impl Send for InterpMode
impl Sync for InterpMode
impl Unpin for InterpMode
impl UnsafeUnpin for InterpMode
impl UnwindSafe for InterpMode
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