Enum buffer_graphics_lib::scaling::Scaling
source · pub enum Scaling {
NearestNeighbour {
x_scale: NonZeroUsize,
y_scale: NonZeroUsize,
},
Epx2x,
Epx4x,
}
Variants§
NearestNeighbour
Increase size of image by x_scale and y_scale Where {2,2} doubles the size
Epx2x
Epx4x
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Scaling
impl Send for Scaling
impl Sync for Scaling
impl Unpin for Scaling
impl UnwindSafe for Scaling
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