pub struct GpuBindGroupLayout { /* private fields */ }Expand description
Wrapper around GPU bind group layout that can be real or mock.
Implementations§
Source§impl GpuBindGroupLayout
impl GpuBindGroupLayout
Sourcepub fn from_wgpu(layout: BindGroupLayout) -> Self
pub fn from_wgpu(layout: BindGroupLayout) -> Self
Create from real WGPU bind group layout
Sourcepub fn as_wgpu(&self) -> &BindGroupLayout
pub fn as_wgpu(&self) -> &BindGroupLayout
Get the underlying wgpu::BindGroupLayout (if real)
Trait Implementations§
Source§impl Clone for GpuBindGroupLayout
impl Clone for GpuBindGroupLayout
Source§fn clone(&self) -> GpuBindGroupLayout
fn clone(&self) -> GpuBindGroupLayout
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 moreAuto Trait Implementations§
impl Freeze for GpuBindGroupLayout
impl !RefUnwindSafe for GpuBindGroupLayout
impl Send for GpuBindGroupLayout
impl Sync for GpuBindGroupLayout
impl Unpin for GpuBindGroupLayout
impl UnsafeUnpin for GpuBindGroupLayout
impl !UnwindSafe for GpuBindGroupLayout
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