pub enum MipmapCount {
Specific(NonZeroU32),
Maximum,
}Expand description
The count of mipmap levels a texture should have.
Variants§
Specific(NonZeroU32)
Specifies a texture with the tiven mipmap count. Must not be greater than the maximum.
Maximum
Specifies a texture with the maximum mipmap count.
Implementations§
Source§impl MipmapCount
impl MipmapCount
Trait Implementations§
Source§impl Clone for MipmapCount
impl Clone for MipmapCount
Source§fn clone(&self) -> MipmapCount
fn clone(&self) -> MipmapCount
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 moreAuto Trait Implementations§
impl Freeze for MipmapCount
impl RefUnwindSafe for MipmapCount
impl Send for MipmapCount
impl Sync for MipmapCount
impl Unpin for MipmapCount
impl UnwindSafe for MipmapCount
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