[][src]Struct wgpu::TextureViewDescriptorBase

#[repr(C)]pub struct TextureViewDescriptorBase<L> {
    pub label: L,
    pub format: TextureFormat,
    pub dimension: TextureViewDimension,
    pub aspect: TextureAspect,
    pub base_mip_level: u32,
    pub level_count: u32,
    pub base_array_layer: u32,
    pub array_layer_count: u32,
}

Fields

label: Lformat: TextureFormatdimension: TextureViewDimensionaspect: TextureAspectbase_mip_level: u32level_count: u32base_array_layer: u32array_layer_count: u32

Methods

impl<L> TextureViewDescriptor<L>[src]

pub fn map_label<K>(
    &self,
    fun: impl FnOnce(&L) -> K
) -> TextureViewDescriptor<K>
[src]

Trait Implementations

impl<L> Clone for TextureViewDescriptor<L> where
    L: Clone
[src]

impl<L> Debug for TextureViewDescriptor<L> where
    L: Debug
[src]

impl<L> PartialEq<TextureViewDescriptor<L>> for TextureViewDescriptor<L> where
    L: PartialEq<L>, 
[src]

impl<L> Serialize for TextureViewDescriptor<L> where
    L: Serialize
[src]

impl<L> StructuralPartialEq for TextureViewDescriptor<L>[src]

Auto Trait Implementations

impl<L> RefUnwindSafe for TextureViewDescriptor<L> where
    L: RefUnwindSafe

impl<L> Send for TextureViewDescriptor<L> where
    L: Send

impl<L> Sync for TextureViewDescriptor<L> where
    L: Sync

impl<L> Unpin for TextureViewDescriptor<L> where
    L: Unpin

impl<L> UnwindSafe for TextureViewDescriptor<L> where
    L: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.