pub enum BindGroupLayoutDescriptorEntry {
Data {
is_uniform: bool,
},
Texture {
sample_type: TextureSampleType,
},
StorageTexture {
access_type: StorageTextureAccessType,
format: TextureFormat,
},
Sampler {
sampler_type: SamplerType,
},
}Variants§
Data
Texture
Fields
§
sample_type: TextureSampleTypeStorageTexture
Sampler
Fields
§
sampler_type: SamplerTypeTrait Implementations§
Source§impl Clone for BindGroupLayoutDescriptorEntry
impl Clone for BindGroupLayoutDescriptorEntry
Source§fn clone(&self) -> BindGroupLayoutDescriptorEntry
fn clone(&self) -> BindGroupLayoutDescriptorEntry
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 From<BindGroupLayoutEntry> for BindGroupLayoutDescriptorEntry
impl From<BindGroupLayoutEntry> for BindGroupLayoutDescriptorEntry
Source§fn from(val: BindGroupLayoutEntry) -> Self
fn from(val: BindGroupLayoutEntry) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BindGroupLayoutDescriptorEntry
impl RefUnwindSafe for BindGroupLayoutDescriptorEntry
impl Send for BindGroupLayoutDescriptorEntry
impl Sync for BindGroupLayoutDescriptorEntry
impl Unpin for BindGroupLayoutDescriptorEntry
impl UnwindSafe for BindGroupLayoutDescriptorEntry
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