pub enum LevelMode {
Singular,
MipMap,
RipMap,
}
Expand description
Whether to also store increasingly smaller versions of the original image.
Variants§
Singular
Only a single level.
MipMap
Levels with a similar aspect ratio.
RipMap
Levels with all possible aspect ratios.
Trait Implementations§
impl Copy for LevelMode
impl Eq for LevelMode
impl StructuralPartialEq for LevelMode
Auto Trait Implementations§
impl Freeze for LevelMode
impl RefUnwindSafe for LevelMode
impl Send for LevelMode
impl Sync for LevelMode
impl Unpin for LevelMode
impl UnwindSafe for LevelMode
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
)