Enum piet::InterpolationMode
source · pub enum InterpolationMode {
NearestNeighbor,
Bilinear,
}
Expand description
A requested interpolation mode for drawing images.
Variants§
Trait Implementations§
source§impl Clone for InterpolationMode
impl Clone for InterpolationMode
source§fn clone(&self) -> InterpolationMode
fn clone(&self) -> InterpolationMode
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 PartialEq<InterpolationMode> for InterpolationMode
impl PartialEq<InterpolationMode> for InterpolationMode
source§fn eq(&self, other: &InterpolationMode) -> bool
fn eq(&self, other: &InterpolationMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.