#[repr(C)]pub struct WGPUTextureViewDescriptor {
pub nextInChain: *mut WGPUChainedStruct,
pub label: WGPUStringView,
pub format: WGPUTextureFormat,
pub dimension: WGPUTextureViewDimension,
pub baseMipLevel: u32,
pub mipLevelCount: u32,
pub baseArrayLayer: u32,
pub arrayLayerCount: u32,
pub aspect: WGPUTextureAspect,
pub usage: WGPUTextureUsage,
}Fields§
§nextInChain: *mut WGPUChainedStruct§label: WGPUStringView§format: WGPUTextureFormat§dimension: WGPUTextureViewDimension§baseMipLevel: u32§mipLevelCount: u32§baseArrayLayer: u32§arrayLayerCount: u32§aspect: WGPUTextureAspect§usage: WGPUTextureUsageTrait Implementations§
Source§impl Clone for WGPUTextureViewDescriptor
impl Clone for WGPUTextureViewDescriptor
Source§fn clone(&self) -> WGPUTextureViewDescriptor
fn clone(&self) -> WGPUTextureViewDescriptor
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 WGPUTextureViewDescriptor
impl Debug for WGPUTextureViewDescriptor
Source§impl Default for WGPUTextureViewDescriptor
impl Default for WGPUTextureViewDescriptor
Source§impl Hash for WGPUTextureViewDescriptor
impl Hash for WGPUTextureViewDescriptor
Source§impl Ord for WGPUTextureViewDescriptor
impl Ord for WGPUTextureViewDescriptor
Source§fn cmp(&self, other: &WGPUTextureViewDescriptor) -> Ordering
fn cmp(&self, other: &WGPUTextureViewDescriptor) -> 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 PartialOrd for WGPUTextureViewDescriptor
impl PartialOrd for WGPUTextureViewDescriptor
impl Copy for WGPUTextureViewDescriptor
impl Eq for WGPUTextureViewDescriptor
impl StructuralPartialEq for WGPUTextureViewDescriptor
Auto Trait Implementations§
impl Freeze for WGPUTextureViewDescriptor
impl RefUnwindSafe for WGPUTextureViewDescriptor
impl !Send for WGPUTextureViewDescriptor
impl !Sync for WGPUTextureViewDescriptor
impl Unpin for WGPUTextureViewDescriptor
impl UnwindSafe for WGPUTextureViewDescriptor
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