pub struct BindGroupDesc<'a, D: Device> {
pub label: &'static str,
pub layout: &'a D::BindGroupLayout,
pub entries: &'a [BindGroupEntry<'a, D>],
}Expand description
Everything needed to create a bind group over a layout.
Fields§
§label: &'static strDebug label.
layout: &'a D::BindGroupLayoutThe layout this group instantiates.
entries: &'a [BindGroupEntry<'a, D>]The bound resources.
Trait Implementations§
Auto Trait Implementations§
impl<'a, D> Freeze for BindGroupDesc<'a, D>
impl<'a, D> RefUnwindSafe for BindGroupDesc<'a, D>where
&'a <D as Device>::BindGroupLayout: RefUnwindSafe,
&'a [BindGroupEntry<'a, D>]: RefUnwindSafe,
impl<'a, D> Send for BindGroupDesc<'a, D>
impl<'a, D> Sync for BindGroupDesc<'a, D>
impl<'a, D> Unpin for BindGroupDesc<'a, D>
impl<'a, D> UnsafeUnpin for BindGroupDesc<'a, D>
impl<'a, D> UnwindSafe for BindGroupDesc<'a, D>
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