Struct simple_wgpu::Sampler
source · pub struct Sampler { /* private fields */ }
Expand description
A texture sampler
Samplers configure texture addressing and filtering modes.
Equivalent to wgpu::Sampler
Trait Implementations§
source§impl PartialEq<Sampler> for Sampler
impl PartialEq<Sampler> for Sampler
impl Eq for Sampler
impl StructuralEq for Sampler
impl StructuralPartialEq for Sampler
Auto Trait Implementations§
impl RefUnwindSafe for Sampler
impl Send for Sampler
impl Sync for Sampler
impl Unpin for Sampler
impl UnwindSafe for Sampler
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.