#[repr(i32)]pub enum RgbScaling {
Nearest = 0,
Bilinear = 1,
}Expand description
The scaling algorithm to use for raster images
Variants§
Nearest = 0
Default RGB image scaling algorithm
Bilinear = 1
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 duplicate 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 for RgbScaling
impl PartialEq for RgbScaling
impl Copy for RgbScaling
impl Eq for RgbScaling
impl StructuralPartialEq for RgbScaling
Auto Trait Implementations§
impl Freeze for RgbScaling
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