#[repr(C, align(8))]pub struct C3D_TexInitParams {
pub width: u16_,
pub height: u16_,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub __bindgen_padding_0: u16,
}Fields§
§width: u16_§height: u16_§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§__bindgen_padding_0: u16Implementations§
Source§impl C3D_TexInitParams
impl C3D_TexInitParams
pub fn maxLevel(&self) -> u8_
pub fn set_maxLevel(&mut self, val: u8_)
pub unsafe fn maxLevel_raw(this: *const Self) -> u8_
pub unsafe fn set_maxLevel_raw(this: *mut Self, val: u8_)
pub fn format(&self) -> GPU_TEXCOLOR
pub fn set_format(&mut self, val: GPU_TEXCOLOR)
pub unsafe fn format_raw(this: *const Self) -> GPU_TEXCOLOR
pub unsafe fn set_format_raw(this: *mut Self, val: GPU_TEXCOLOR)
pub fn type_(&self) -> GPU_TEXTURE_MODE_PARAM
pub fn set_type(&mut self, val: GPU_TEXTURE_MODE_PARAM)
pub unsafe fn type__raw(this: *const Self) -> GPU_TEXTURE_MODE_PARAM
pub unsafe fn set_type_raw(this: *mut Self, val: GPU_TEXTURE_MODE_PARAM)
pub fn onVram(&self) -> bool
pub fn set_onVram(&mut self, val: bool)
pub unsafe fn onVram_raw(this: *const Self) -> bool
pub unsafe fn set_onVram_raw(this: *mut Self, val: bool)
pub fn new_bitfield_1( maxLevel: u8_, format: GPU_TEXCOLOR, type_: GPU_TEXTURE_MODE_PARAM, onVram: bool, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Source§impl Clone for C3D_TexInitParams
impl Clone for C3D_TexInitParams
Source§fn clone(&self) -> C3D_TexInitParams
fn clone(&self) -> C3D_TexInitParams
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 C3D_TexInitParams
impl Debug for C3D_TexInitParams
impl Copy for C3D_TexInitParams
Auto Trait Implementations§
impl Freeze for C3D_TexInitParams
impl RefUnwindSafe for C3D_TexInitParams
impl Send for C3D_TexInitParams
impl Sync for C3D_TexInitParams
impl Unpin for C3D_TexInitParams
impl UnwindSafe for C3D_TexInitParams
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)