pub enum TextureType {
UnsignedByte,
UnsignedShort5_6_5,
UnsignedShort4_4_4_4,
UnsignedShort5_5_5_1,
}Variants§
Implementations§
Source§impl TextureType
impl TextureType
pub const VALID_TEXTURE_TYPE: &[u32]
Trait Implementations§
Source§impl Clone for TextureType
impl Clone for TextureType
Source§fn clone(&self) -> TextureType
fn clone(&self) -> TextureType
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 moreSource§impl Debug for TextureType
impl Debug for TextureType
Source§impl Default for TextureType
impl Default for TextureType
Source§fn default() -> TextureType
fn default() -> TextureType
Returns the “default value” for a type. Read more
Source§impl From<TextureType> for u32
impl From<TextureType> for u32
Source§fn from(value: TextureType) -> Self
fn from(value: TextureType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TextureType
impl PartialEq for TextureType
Source§impl Serialize for TextureType
impl Serialize for TextureType
Source§impl TryFrom<u32> for TextureType
impl TryFrom<u32> for TextureType
impl Copy for TextureType
impl Eq for TextureType
impl StructuralPartialEq for TextureType
Auto Trait Implementations§
impl Freeze for TextureType
impl RefUnwindSafe for TextureType
impl Send for TextureType
impl Sync for TextureType
impl Unpin for TextureType
impl UnwindSafe for TextureType
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§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.