pub enum Interpolation {
Nearest,
Linear,
CubicSpline,
}
Expand description
Possible modes of interpolation which determines the texture output between texture pixels.
Variants§
Trait Implementations§
Source§impl Clone for Interpolation
impl Clone for Interpolation
Source§fn clone(&self) -> Interpolation
fn clone(&self) -> Interpolation
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 Interpolation
impl Debug for Interpolation
Source§impl Default for Interpolation
impl Default for Interpolation
Source§fn default() -> Interpolation
fn default() -> Interpolation
Returns the “default value” for a type. Read more
Source§impl Hash for Interpolation
impl Hash for Interpolation
Source§impl Ord for Interpolation
impl Ord for Interpolation
Source§fn cmp(&self, other: &Interpolation) -> Ordering
fn cmp(&self, other: &Interpolation) -> 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 Interpolation
impl PartialEq for Interpolation
Source§impl PartialOrd for Interpolation
impl PartialOrd for Interpolation
impl Copy for Interpolation
impl Eq for Interpolation
impl StructuralPartialEq for Interpolation
Auto Trait Implementations§
impl Freeze for Interpolation
impl RefUnwindSafe for Interpolation
impl Send for Interpolation
impl Sync for Interpolation
impl Unpin for Interpolation
impl UnwindSafe for Interpolation
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