#[repr(C)]pub struct WGPUBindGroupLayoutEntry {
pub nextInChain: *mut WGPUChainedStruct,
pub binding: u32,
pub visibility: WGPUShaderStage,
pub buffer: WGPUBufferBindingLayout,
pub sampler: WGPUSamplerBindingLayout,
pub texture: WGPUTextureBindingLayout,
pub storageTexture: WGPUStorageTextureBindingLayout,
}Fields§
§nextInChain: *mut WGPUChainedStruct§binding: u32§visibility: WGPUShaderStage§buffer: WGPUBufferBindingLayout§sampler: WGPUSamplerBindingLayout§texture: WGPUTextureBindingLayout§storageTexture: WGPUStorageTextureBindingLayoutTrait Implementations§
Source§impl Clone for WGPUBindGroupLayoutEntry
impl Clone for WGPUBindGroupLayoutEntry
Source§fn clone(&self) -> WGPUBindGroupLayoutEntry
fn clone(&self) -> WGPUBindGroupLayoutEntry
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 WGPUBindGroupLayoutEntry
impl Debug for WGPUBindGroupLayoutEntry
Source§impl Default for WGPUBindGroupLayoutEntry
impl Default for WGPUBindGroupLayoutEntry
Source§impl Hash for WGPUBindGroupLayoutEntry
impl Hash for WGPUBindGroupLayoutEntry
Source§impl Ord for WGPUBindGroupLayoutEntry
impl Ord for WGPUBindGroupLayoutEntry
Source§fn cmp(&self, other: &WGPUBindGroupLayoutEntry) -> Ordering
fn cmp(&self, other: &WGPUBindGroupLayoutEntry) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WGPUBindGroupLayoutEntry
impl PartialEq for WGPUBindGroupLayoutEntry
Source§impl PartialOrd for WGPUBindGroupLayoutEntry
impl PartialOrd for WGPUBindGroupLayoutEntry
impl Copy for WGPUBindGroupLayoutEntry
impl Eq for WGPUBindGroupLayoutEntry
impl StructuralPartialEq for WGPUBindGroupLayoutEntry
Auto Trait Implementations§
impl Freeze for WGPUBindGroupLayoutEntry
impl RefUnwindSafe for WGPUBindGroupLayoutEntry
impl !Send for WGPUBindGroupLayoutEntry
impl !Sync for WGPUBindGroupLayoutEntry
impl Unpin for WGPUBindGroupLayoutEntry
impl UnwindSafe for WGPUBindGroupLayoutEntry
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