[][src]Enum wgpu::BindingType

pub enum BindingType {
    UniformBuffer {
        dynamic: bool,
    },
    StorageBuffer {
        dynamic: bool,
        readonly: bool,
    },
    Sampler {
        comparison: bool,
    },
    SampledTexture {
        dimension: TextureViewDimension,
        component_type: TextureComponentType,
        multisampled: bool,
    },
    StorageTexture {
        dimension: TextureViewDimension,
        component_type: TextureComponentType,
        format: TextureFormat,
        readonly: bool,
    },
}

Specific type of a binding..

Variants

UniformBuffer

Fields of UniformBuffer

dynamic: bool
StorageBuffer

Fields of StorageBuffer

dynamic: boolreadonly: bool
Sampler

Fields of Sampler

comparison: bool
SampledTexture

Fields of SampledTexture

dimension: TextureViewDimensioncomponent_type: TextureComponentTypemultisampled: bool
StorageTexture

Fields of StorageTexture

dimension: TextureViewDimensioncomponent_type: TextureComponentTypeformat: TextureFormatreadonly: bool

Trait Implementations

impl Clone for BindingType[src]

impl Copy for BindingType[src]

impl Debug for BindingType[src]

impl Eq for BindingType[src]

impl Hash for BindingType[src]

impl PartialEq<BindingType> for BindingType[src]

impl StructuralEq for BindingType[src]

impl StructuralPartialEq for BindingType[src]

Auto Trait Implementations

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.