pub struct Interpolation {
pub mode: InterpMode,
pub sampling: InterpSampling,
}Expand description
A pixel input’s interpolation: the mode and the sampling location.
Fields§
§mode: InterpModeHow the value is interpolated across the primitive.
sampling: InterpSamplingWhere in the pixel the value is taken.
Trait Implementations§
Source§impl Clone for Interpolation
impl Clone for Interpolation
impl Copy for Interpolation
Source§impl Debug for Interpolation
impl Debug for Interpolation
impl Eq for Interpolation
Source§impl Hash for Interpolation
impl Hash for Interpolation
Source§impl Ord for Interpolation
impl Ord for Interpolation
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for Interpolation
impl PartialEq for Interpolation
Source§impl PartialOrd for Interpolation
impl PartialOrd for Interpolation
Source§impl Serialize for Interpolation
impl Serialize 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 UnsafeUnpin 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