pub struct BindGroupLayout { /* private fields */ }
Implementations§
Source§impl BindGroupLayout
impl BindGroupLayout
pub fn from_wgpu(gpu: Gpu, layout: BindGroupLayout) -> Self
pub fn inner(&self) -> &BindGroupLayout
pub fn create_bind_group(&self, bindings: &[Binding<'_>]) -> BindGroup
Trait Implementations§
Source§impl Clone for BindGroupLayout
impl Clone for BindGroupLayout
Source§fn clone(&self) -> BindGroupLayout
fn clone(&self) -> BindGroupLayout
Returns a duplicate 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 moreSource§impl Debug for BindGroupLayout
impl Debug for BindGroupLayout
Auto Trait Implementations§
impl Freeze for BindGroupLayout
impl !RefUnwindSafe for BindGroupLayout
impl !Send for BindGroupLayout
impl !Sync for BindGroupLayout
impl Unpin for BindGroupLayout
impl !UnwindSafe for BindGroupLayout
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