Enum dbsdk_rs::vdp::TextureFormat
source · #[repr(C)]pub enum TextureFormat {
RGB565 = 0,
RGBA4444 = 1,
RGBA8888 = 2,
DXT1 = 3,
DXT3 = 4,
YUV420 = 5,
}
Variants§
Trait Implementations§
source§impl Clone for TextureFormat
impl Clone for TextureFormat
source§fn clone(&self) -> TextureFormat
fn clone(&self) -> TextureFormat
Returns a copy 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 PartialEq for TextureFormat
impl PartialEq for TextureFormat
source§fn eq(&self, other: &TextureFormat) -> bool
fn eq(&self, other: &TextureFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TextureFormat
impl StructuralPartialEq for TextureFormat
Auto Trait Implementations§
impl RefUnwindSafe for TextureFormat
impl Send for TextureFormat
impl Sync for TextureFormat
impl Unpin 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