pub enum Compression {
DXT1,
DXT2,
DXT3,
DXT4,
DXT5,
DX10,
None,
Other(u8, u8, u8, u8),
}
Expand description
Represents the compression format of a DDS file, aka the four-cc bytes.
Variants§
Trait Implementations§
Source§impl Debug for Compression
impl Debug for Compression
Auto Trait Implementations§
impl Freeze for Compression
impl RefUnwindSafe for Compression
impl Send for Compression
impl Sync for Compression
impl Unpin for Compression
impl UnwindSafe for Compression
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