Struct wgpu_core::binding_model::ResolvedBindGroupEntry
source · pub struct ResolvedBindGroupEntry<'a> {
pub binding: u32,
pub resource: ResolvedBindingResource<'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: ResolvedBindingResource<'a>
Resource to attach to the binding
Trait Implementations§
source§impl<'a> Clone for ResolvedBindGroupEntry<'a>
impl<'a> Clone for ResolvedBindGroupEntry<'a>
source§fn clone(&self) -> ResolvedBindGroupEntry<'a>
fn clone(&self) -> ResolvedBindGroupEntry<'a>
Returns a copy 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 moreAuto Trait Implementations§
impl<'a> Freeze for ResolvedBindGroupEntry<'a>
impl<'a> !RefUnwindSafe for ResolvedBindGroupEntry<'a>
impl<'a> Send for ResolvedBindGroupEntry<'a>
impl<'a> Sync for ResolvedBindGroupEntry<'a>
impl<'a> Unpin for ResolvedBindGroupEntry<'a>
impl<'a> !UnwindSafe for ResolvedBindGroupEntry<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)