#[repr(C)]pub struct WGPUStaticSamplerBindingLayout {
pub chain: WGPUChainedStruct,
pub sampler: WGPUSampler,
pub sampledTextureBinding: u32,
}Fields§
§chain: WGPUChainedStruct§sampler: WGPUSampler§sampledTextureBinding: u32Trait Implementations§
Source§impl Clone for WGPUStaticSamplerBindingLayout
impl Clone for WGPUStaticSamplerBindingLayout
Source§fn clone(&self) -> WGPUStaticSamplerBindingLayout
fn clone(&self) -> WGPUStaticSamplerBindingLayout
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 Ord for WGPUStaticSamplerBindingLayout
impl Ord for WGPUStaticSamplerBindingLayout
Source§fn cmp(&self, other: &WGPUStaticSamplerBindingLayout) -> Ordering
fn cmp(&self, other: &WGPUStaticSamplerBindingLayout) -> 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 WGPUStaticSamplerBindingLayout
impl PartialEq for WGPUStaticSamplerBindingLayout
Source§fn eq(&self, other: &WGPUStaticSamplerBindingLayout) -> bool
fn eq(&self, other: &WGPUStaticSamplerBindingLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WGPUStaticSamplerBindingLayout
impl PartialOrd for WGPUStaticSamplerBindingLayout
impl Copy for WGPUStaticSamplerBindingLayout
impl Eq for WGPUStaticSamplerBindingLayout
impl StructuralPartialEq for WGPUStaticSamplerBindingLayout
Auto Trait Implementations§
impl Freeze for WGPUStaticSamplerBindingLayout
impl RefUnwindSafe for WGPUStaticSamplerBindingLayout
impl !Send for WGPUStaticSamplerBindingLayout
impl !Sync for WGPUStaticSamplerBindingLayout
impl Unpin for WGPUStaticSamplerBindingLayout
impl UnwindSafe for WGPUStaticSamplerBindingLayout
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