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<FilterQuality> for FilterQuality
impl PartialEq<FilterQuality> 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 ==
.