#[repr(C)]pub struct TextureFormat {
pub value: i32,
}Expand description
Fields§
§value: i32Implementations§
Source§impl TextureFormat
impl TextureFormat
pub fn alpha8() -> Self
pub fn argb4444() -> Self
pub fn rgb24() -> Self
pub fn rgba32() -> Self
pub fn argb32() -> Self
pub fn rgb565() -> Self
pub fn r16() -> Self
pub fn dxt1() -> Self
pub fn dxt5() -> Self
pub fn rgba4444() -> Self
pub fn bgra32() -> Self
pub fn r_half() -> Self
pub fn rg_half() -> Self
pub fn rgba_half() -> Self
pub fn r_float() -> Self
pub fn rg_float() -> Self
pub fn rgba_float() -> Self
pub fn yuy2() -> Self
pub fn rgb9e5_float() -> Self
pub fn bc4() -> Self
pub fn bc5() -> Self
pub fn bc6h() -> Self
pub fn bc7() -> Self
pub fn dxt1_crunched() -> Self
pub fn dxt5_crunched() -> Self
pub fn pvrtc_rgb2() -> Self
pub fn pvrtc_rgba2() -> Self
pub fn pvrtc_rgb4() -> Self
pub fn pvrtc_rgba4() -> Self
pub fn etc_rgb4() -> Self
pub fn eac_r() -> Self
pub fn eac_r_signed() -> Self
pub fn eac_rg() -> Self
pub fn eac_rg_signed() -> Self
pub fn etc2_rgb() -> Self
pub fn etc2_rgba1() -> Self
pub fn etc2_rgba8() -> Self
pub fn astc_4x4() -> Self
pub fn astc_5x5() -> Self
pub fn astc_6x6() -> Self
pub fn astc_8x8() -> Self
pub fn astc_10x10() -> Self
pub fn astc_12x12() -> Self
pub fn etc_rgb4_3ds() -> Self
pub fn etc_rgba8_3ds() -> Self
pub fn rg16() -> Self
pub fn r8() -> Self
pub fn etc_rgb4_crunched() -> Self
pub fn etc2_rgba8_crunched() -> Self
pub fn astc_hdr_4x4() -> Self
pub fn astc_hdr_5x5() -> Self
pub fn astc_hdr_6x6() -> Self
pub fn astc_hdr_8x8() -> Self
pub fn astc_hdr_10x10() -> Self
pub fn astc_hdr_12x12() -> Self
pub fn rg32() -> Self
pub fn rgb48() -> Self
pub fn rgba64() -> Self
pub fn astc_rgb_4x4() -> Self
pub fn astc_rgb_5x5() -> Self
pub fn astc_rgb_6x6() -> Self
pub fn astc_rgb_8x8() -> Self
pub fn astc_rgb_10x10() -> Self
pub fn astc_rgb_12x12() -> Self
pub fn astc_rgba_4x4() -> Self
pub fn astc_rgba_5x5() -> Self
pub fn astc_rgba_6x6() -> Self
pub fn astc_rgba_8x8() -> Self
pub fn astc_rgba_10x10() -> Self
pub fn astc_rgba_12x12() -> Self
Trait Implementations§
Source§impl ClassIdentity for TextureFormat
impl ClassIdentity for TextureFormat
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§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 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 UnwindSafe for TextureFormat
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)