Enum tiny_skia::FilterQuality
source · pub enum FilterQuality {
Nearest,
Bilinear,
Bicubic,
}
Expand description
Controls how much filtering to be done when transforming images.
Variants§
Nearest
Nearest-neighbor. Low quality, but fastest.
Bilinear
Bilinear.
Bicubic
Bicubic. High quality, but slow.
Trait Implementations§
source§impl Clone for FilterQuality
impl Clone for FilterQuality
source§fn clone(&self) -> FilterQuality
fn clone(&self) -> FilterQuality
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 FilterQuality
impl Debug for FilterQuality
source§impl PartialEq for FilterQuality
impl PartialEq for FilterQuality
source§fn eq(&self, other: &FilterQuality) -> bool
fn eq(&self, other: &FilterQuality) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FilterQuality
impl StructuralPartialEq for FilterQuality
Auto Trait Implementations§
impl RefUnwindSafe for FilterQuality
impl Send for FilterQuality
impl Sync for FilterQuality
impl Unpin for FilterQuality
impl UnwindSafe for FilterQuality
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