#[repr(C)]pub struct WGPUTextureDescriptor {
pub nextInChain: *mut WGPUChainedStruct,
pub label: WGPUStringView,
pub usage: WGPUFlags,
pub dimension: c_int,
pub size: WGPUExtent3D,
pub format: c_int,
pub mipLevelCount: u32,
pub sampleCount: u32,
pub viewFormatCount: usize,
pub viewFormats: *const c_int,
}Fields§
§nextInChain: *mut WGPUChainedStruct§label: WGPUStringView§usage: WGPUFlags§dimension: c_int§size: WGPUExtent3D§format: c_int§mipLevelCount: u32§sampleCount: u32§viewFormatCount: usize§viewFormats: *const c_intTrait Implementations§
Source§impl Clone for WGPUTextureDescriptor
impl Clone for WGPUTextureDescriptor
Source§fn clone(&self) -> WGPUTextureDescriptor
fn clone(&self) -> WGPUTextureDescriptor
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 Debug for WGPUTextureDescriptor
impl Debug for WGPUTextureDescriptor
impl Copy for WGPUTextureDescriptor
Auto Trait Implementations§
impl Freeze for WGPUTextureDescriptor
impl RefUnwindSafe for WGPUTextureDescriptor
impl !Send for WGPUTextureDescriptor
impl !Sync for WGPUTextureDescriptor
impl Unpin for WGPUTextureDescriptor
impl UnwindSafe for WGPUTextureDescriptor
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