pub struct BindingGroupLayout {
pub wgpu: BindGroupLayout,
pub size: usize,
pub set_index: u32,
}Expand description
The layout of a BindingGroup.
Fields§
§wgpu: BindGroupLayout§size: usize§set_index: u32Implementations§
Source§impl BindingGroupLayout
impl BindingGroupLayout
pub fn new(set_index: u32, layout: BindGroupLayout, size: usize) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BindingGroupLayout
impl !RefUnwindSafe for BindingGroupLayout
impl Send for BindingGroupLayout
impl Sync for BindingGroupLayout
impl Unpin for BindingGroupLayout
impl UnsafeUnpin for BindingGroupLayout
impl !UnwindSafe for BindingGroupLayout
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