pub enum BindingType {
UniformBuffer,
StorageBuffer {
read_only: bool,
},
Sampler {
comparison: bool,
},
Texture {
sample_type: TextureSampleType,
view_dimension: TextureViewDimension,
multisampled: bool,
},
StorageTexture {
format: TextureFormat,
},
}Variants§
Trait Implementations§
Source§impl Debug for BindingType
impl Debug for BindingType
Source§impl<'de> Deserialize<'de> for BindingType
impl<'de> Deserialize<'de> for BindingType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BindingType
impl RefUnwindSafe for BindingType
impl Send for BindingType
impl Sync for BindingType
impl Unpin for BindingType
impl UnwindSafe for BindingType
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