Enum wgpu_core::binding_model::BindingResource [−][src]
pub enum BindingResource<'a> {
Buffer(BufferBinding),
BufferArray(Cow<'a, [BufferBinding]>),
Sampler(SamplerId),
TextureView(TextureViewId),
TextureViewArray(Cow<'a, [TextureViewId]>),
}
Variants
Buffer(BufferBinding)
Tuple Fields of Buffer
BufferArray(Cow<'a, [BufferBinding]>)
Tuple Fields of BufferArray
0: Cow<'a, [BufferBinding]>
Sampler(SamplerId)
Tuple Fields of Sampler
0: SamplerId
TextureView(TextureViewId)
Tuple Fields of TextureView
TextureViewArray(Cow<'a, [TextureViewId]>)
Tuple Fields of TextureViewArray
0: Cow<'a, [TextureViewId]>
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for BindingResource<'a>
impl<'a> Send for BindingResource<'a>
impl<'a> Sync for BindingResource<'a>
impl<'a> Unpin for BindingResource<'a>
impl<'a> !UnwindSafe for BindingResource<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more