#[repr(u32)]pub enum TextureFormat {
Show 13 variants
A8R8G8B8 = 21,
X8R8G8B8 = 22,
A1R5G5B5 = 25,
A8 = 28,
A8B8G8R8 = 32,
L8 = 50,
DXT1 = 827_611_204,
DXT3 = 861_165_636,
DXT5 = 894_720_068,
ATI1 = 826_889_281,
ATI2 = 843_666_497,
BC7 = 540_492_610,
Unknown = 0,
}Variants§
A8R8G8B8 = 21
X8R8G8B8 = 22
A1R5G5B5 = 25
A8 = 28
A8B8G8R8 = 32
L8 = 50
DXT1 = 827_611_204
DXT3 = 861_165_636
DXT5 = 894_720_068
ATI1 = 826_889_281
ATI2 = 843_666_497
BC7 = 540_492_610
Unknown = 0
Implementations§
Source§impl TextureFormat
impl TextureFormat
Trait Implementations§
Source§impl Clone for TextureFormat
impl Clone for TextureFormat
Source§fn clone(&self) -> TextureFormat
fn clone(&self) -> TextureFormat
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 TextureFormat
impl Debug for TextureFormat
Source§impl Display for TextureFormat
impl Display for TextureFormat
Source§impl PartialEq for TextureFormat
impl PartialEq for TextureFormat
impl Copy for TextureFormat
impl Eq for TextureFormat
impl StructuralPartialEq for TextureFormat
Auto Trait Implementations§
impl Freeze for TextureFormat
impl RefUnwindSafe for TextureFormat
impl Send for TextureFormat
impl Sync for TextureFormat
impl Unpin for TextureFormat
impl UnsafeUnpin for TextureFormat
impl UnwindSafe for TextureFormat
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