#[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 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 WGPUTextureViewDescriptor
impl Debug for WGPUTextureViewDescriptor
impl Copy 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