Struct easygpu::binding::BindingGroupLayout
source · 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: u32
Implementations§
source§impl BindingGroupLayout
impl BindingGroupLayout
pub fn new(set_index: u32, layout: BindGroupLayout, size: usize) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BindingGroupLayout
impl Send for BindingGroupLayout
impl Sync for BindingGroupLayout
impl Unpin 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