#[non_exhaustive]pub enum ImageSampling {
Linear,
Nearest,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ImageSampling
impl Clone for ImageSampling
impl Copy for ImageSampling
Source§impl Debug for ImageSampling
impl Debug for ImageSampling
Source§impl Default for ImageSampling
impl Default for ImageSampling
impl Eq for ImageSampling
Source§impl PartialEq for ImageSampling
impl PartialEq for ImageSampling
impl StructuralPartialEq for ImageSampling
Auto Trait Implementations§
impl Freeze for ImageSampling
impl RefUnwindSafe for ImageSampling
impl Send for ImageSampling
impl Sync for ImageSampling
impl Unpin for ImageSampling
impl UnsafeUnpin for ImageSampling
impl UnwindSafe for ImageSampling
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