Enum druid::piet::InterpolationMode
pub enum InterpolationMode {
NearestNeighbor,
Bilinear,
}
Expand description
A requested interpolation mode for drawing images.
Variants§
Trait Implementations§
§impl Clone for InterpolationMode
impl Clone for InterpolationMode
§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 Data for InterpolationMode
impl Data for InterpolationMode
§impl PartialEq<InterpolationMode> for InterpolationMode
impl PartialEq<InterpolationMode> for InterpolationMode
§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 ==
.impl Copy for InterpolationMode
impl Eq for InterpolationMode
impl StructuralEq for InterpolationMode
impl StructuralPartialEq for InterpolationMode
Auto Trait Implementations§
impl RefUnwindSafe for InterpolationMode
impl Send for InterpolationMode
impl Sync for InterpolationMode
impl Unpin for InterpolationMode
impl UnwindSafe for InterpolationMode
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.