pub enum TextureChoice {
Finest,
AtMost(u8),
}Expand description
Which form SelectTextureForm keeps of each texture.
Variants§
Finest
The texture’s own.
AtMost(u8)
The coarsest form at level N or finer; the texture’s own when none is.
Trait Implementations§
Source§impl Clone for TextureChoice
impl Clone for TextureChoice
impl Copy for TextureChoice
Source§impl Debug for TextureChoice
impl Debug for TextureChoice
impl Eq for TextureChoice
Source§impl PartialEq for TextureChoice
impl PartialEq for TextureChoice
impl StructuralPartialEq for TextureChoice
Auto Trait Implementations§
impl Forget for TextureChoice
impl Freeze for TextureChoice
impl RefUnwindSafe for TextureChoice
impl Send for TextureChoice
impl Sync for TextureChoice
impl Unpin for TextureChoice
impl UnsafeUnpin for TextureChoice
impl UnwindSafe for TextureChoice
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.