Enum fltk::image::RgbScaling
source · #[repr(i32)]pub enum RgbScaling {
Nearest,
Bilinear,
}
Expand description
The scaling algorithm to use for raster images
Variants§
Nearest
Default RGB image scaling algorithm
Bilinear
More accurate, but slower RGB image scaling algorithm
Trait Implementations§
source§impl Clone for RgbScaling
impl Clone for RgbScaling
source§fn clone(&self) -> RgbScaling
fn clone(&self) -> RgbScaling
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 RgbScaling
impl Debug for RgbScaling
source§impl PartialEq<RgbScaling> for RgbScaling
impl PartialEq<RgbScaling> for RgbScaling
source§fn eq(&self, other: &RgbScaling) -> bool
fn eq(&self, other: &RgbScaling) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RgbScaling
impl Eq for RgbScaling
impl StructuralEq for RgbScaling
impl StructuralPartialEq for RgbScaling
Auto Trait Implementations§
impl RefUnwindSafe for RgbScaling
impl Send for RgbScaling
impl Sync for RgbScaling
impl Unpin for RgbScaling
impl UnwindSafe for RgbScaling
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