#[repr(C)]pub struct WGPUTextureDescriptor {
pub nextInChain: *mut WGPUChainedStruct,
pub label: WGPUStringView,
pub usage: WGPUTextureUsage,
pub dimension: WGPUTextureDimension,
pub size: WGPUExtent3D,
pub format: WGPUTextureFormat,
pub mipLevelCount: u32,
pub sampleCount: u32,
pub viewFormatCount: usize,
pub viewFormats: *const WGPUTextureFormat,
}Fields§
§nextInChain: *mut WGPUChainedStruct§label: WGPUStringView§usage: WGPUTextureUsage§dimension: WGPUTextureDimension§size: WGPUExtent3D§format: WGPUTextureFormat§mipLevelCount: u32§sampleCount: u32§viewFormatCount: usize§viewFormats: *const WGPUTextureFormatTrait Implementations§
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