#[repr(C)]pub struct TextureInfo {
pub struct_size: u32,
pub width: u32,
pub height: u32,
pub levels: u32,
pub faces: u32,
pub bytes_per_block: u32,
pub userdata0: u32,
pub userdata1: u32,
pub format: CrnFormat,
}
Fields§
§struct_size: u32
§width: u32
§height: u32
§levels: u32
§faces: u32
§bytes_per_block: u32
§userdata0: u32
§userdata1: u32
§format: CrnFormat
Trait Implementations§
Source§impl Debug for TextureInfo
impl Debug for TextureInfo
Source§impl Default for TextureInfo
impl Default for TextureInfo
Source§fn default() -> TextureInfo
fn default() -> TextureInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for TextureInfo
impl PartialEq for TextureInfo
impl StructuralPartialEq for TextureInfo
Auto Trait Implementations§
impl Freeze for TextureInfo
impl RefUnwindSafe for TextureInfo
impl Send for TextureInfo
impl Sync for TextureInfo
impl Unpin for TextureInfo
impl UnwindSafe for TextureInfo
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