Enum tiny_skia::shaders::pattern::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
impl Copy for FilterQuality
impl StructuralPartialEq for FilterQuality
Auto Trait Implementations§
impl Freeze for FilterQuality
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)