Enum piet_common::InterpolationMode
source · pub enum InterpolationMode {
NearestNeighbor,
Bilinear,
}Expand description
A requested interpolation mode for drawing images.
Variants
Trait Implementations
sourceimpl Clone for InterpolationMode
impl Clone for InterpolationMode
sourcefn clone(&self) -> InterpolationMode
fn clone(&self) -> InterpolationMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl PartialEq<InterpolationMode> for InterpolationMode
impl PartialEq<InterpolationMode> for InterpolationMode
sourcefn eq(&self, other: &InterpolationMode) -> bool
fn eq(&self, other: &InterpolationMode) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
sourcefn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
sourceimpl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
sourcefn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.