#[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§
Source§impl Clone for WGPUTextureDescriptor
impl Clone for WGPUTextureDescriptor
Source§fn clone(&self) -> WGPUTextureDescriptor
fn clone(&self) -> WGPUTextureDescriptor
Returns a duplicate 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
Source§impl Default for WGPUTextureDescriptor
impl Default for WGPUTextureDescriptor
Source§impl Hash for WGPUTextureDescriptor
impl Hash for WGPUTextureDescriptor
Source§impl Ord for WGPUTextureDescriptor
impl Ord for WGPUTextureDescriptor
Source§fn cmp(&self, other: &WGPUTextureDescriptor) -> Ordering
fn cmp(&self, other: &WGPUTextureDescriptor) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WGPUTextureDescriptor
impl PartialEq for WGPUTextureDescriptor
Source§impl PartialOrd for WGPUTextureDescriptor
impl PartialOrd for WGPUTextureDescriptor
impl Copy for WGPUTextureDescriptor
impl Eq for WGPUTextureDescriptor
impl StructuralPartialEq 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