#[repr(u32)]pub enum BasisTextureFormat {
Show 33 variants
Etc1s = 0,
UastcLdr4x4 = 1,
UastcHdr4x4 = 2,
AstcHdr6x6 = 3,
UastcHdr6x6 = 4,
XuastcLdr4x4 = 5,
XuastcLdr5x4 = 6,
XuastcLdr5x5 = 7,
XuastcLdr6x5 = 8,
XuastcLdr6x6 = 9,
XuastcLdr8x5 = 10,
XuastcLdr8x6 = 11,
XuastcLdr10x5 = 12,
XuastcLdr10x6 = 13,
XuastcLdr8x8 = 14,
XuastcLdr10x8 = 15,
XuastcLdr10x10 = 16,
XuastcLdr12x10 = 17,
XuastcLdr12x12 = 18,
AstcLdr4x4 = 19,
AstcLdr5x4 = 20,
AstcLdr5x5 = 21,
AstcLdr6x5 = 22,
AstcLdr6x6 = 23,
AstcLdr8x5 = 24,
AstcLdr8x6 = 25,
AstcLdr10x5 = 26,
AstcLdr10x6 = 27,
AstcLdr8x8 = 28,
AstcLdr10x8 = 29,
AstcLdr10x10 = 30,
AstcLdr12x10 = 31,
AstcLdr12x12 = 32,
}Expand description
A enum that wraps common::BTF_*.
Variants§
Etc1s = 0
UastcLdr4x4 = 1
UastcHdr4x4 = 2
AstcHdr6x6 = 3
UastcHdr6x6 = 4
XuastcLdr4x4 = 5
XuastcLdr5x4 = 6
XuastcLdr5x5 = 7
XuastcLdr6x5 = 8
XuastcLdr6x6 = 9
XuastcLdr8x5 = 10
XuastcLdr8x6 = 11
XuastcLdr10x5 = 12
XuastcLdr10x6 = 13
XuastcLdr8x8 = 14
XuastcLdr10x8 = 15
XuastcLdr10x10 = 16
XuastcLdr12x10 = 17
XuastcLdr12x12 = 18
AstcLdr4x4 = 19
AstcLdr5x4 = 20
AstcLdr5x5 = 21
AstcLdr6x5 = 22
AstcLdr6x6 = 23
AstcLdr8x5 = 24
AstcLdr8x6 = 25
AstcLdr10x5 = 26
AstcLdr10x6 = 27
AstcLdr8x8 = 28
AstcLdr10x8 = 29
AstcLdr10x10 = 30
AstcLdr12x10 = 31
AstcLdr12x12 = 32
Trait Implementations§
Source§impl Clone for BasisTextureFormat
impl Clone for BasisTextureFormat
Source§fn clone(&self) -> BasisTextureFormat
fn clone(&self) -> BasisTextureFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BasisTextureFormat
Source§impl Debug for BasisTextureFormat
impl Debug for BasisTextureFormat
Source§impl<'de> Deserialize<'de> for BasisTextureFormat
impl<'de> Deserialize<'de> for BasisTextureFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BasisTextureFormat
Source§impl PartialEq for BasisTextureFormat
impl PartialEq for BasisTextureFormat
Source§fn eq(&self, other: &BasisTextureFormat) -> bool
fn eq(&self, other: &BasisTextureFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BasisTextureFormat
impl Serialize for BasisTextureFormat
impl StructuralPartialEq for BasisTextureFormat
Auto Trait Implementations§
impl Freeze for BasisTextureFormat
impl RefUnwindSafe for BasisTextureFormat
impl Send for BasisTextureFormat
impl Sync for BasisTextureFormat
impl Unpin for BasisTextureFormat
impl UnsafeUnpin for BasisTextureFormat
impl UnwindSafe for BasisTextureFormat
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