Struct wgpu::BindGroupEntry [−][src]
pub struct BindGroupEntry<'a> {
pub binding: u32,
pub resource: BindingResource<'a>,
}
Expand description
Bindable resource and the slot to bind it to.
Fields
binding: u32
Slot for which binding provides resource. Corresponds to an entry of the same
binding index in the BindGroupLayoutDescriptor
.
resource: BindingResource<'a>
Resource to attach to the binding
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for BindGroupEntry<'a>
impl<'a> Send for BindGroupEntry<'a>
impl<'a> Sync for BindGroupEntry<'a>
impl<'a> Unpin for BindGroupEntry<'a>
impl<'a> !UnwindSafe for BindGroupEntry<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more