pub struct SamplerDesc {
pub filter: FilterMode,
pub address_u: AddressMode,
pub address_v: AddressMode,
}Expand description
Sampler state for one texture.
Fields§
§filter: FilterMode§address_u: AddressMode§address_v: AddressModeTrait Implementations§
Source§impl Clone for SamplerDesc
impl Clone for SamplerDesc
impl Copy for SamplerDesc
Source§impl Debug for SamplerDesc
impl Debug for SamplerDesc
Source§impl Default for SamplerDesc
impl Default for SamplerDesc
impl Eq for SamplerDesc
Source§impl Hash for SamplerDesc
impl Hash for SamplerDesc
Source§impl PartialEq for SamplerDesc
impl PartialEq for SamplerDesc
impl StructuralPartialEq for SamplerDesc
Auto Trait Implementations§
impl Forget for SamplerDesc
impl Freeze for SamplerDesc
impl Move for SamplerDesc
impl RefUnwindSafe for SamplerDesc
impl Send for SamplerDesc
impl Sync for SamplerDesc
impl Unpin for SamplerDesc
impl UnsafeUnpin for SamplerDesc
impl UnwindSafe for SamplerDesc
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.