Struct screen_13::driver::SamplerDesc
source · [−]pub struct SamplerDesc {
pub address_modes: SamplerAddressMode,
pub mipmap_mode: SamplerMipmapMode,
pub texel_filter: Filter,
}Fields
address_modes: SamplerAddressModemipmap_mode: SamplerMipmapModetexel_filter: FilterTrait Implementations
sourceimpl Clone for SamplerDesc
impl Clone for SamplerDesc
sourcefn clone(&self) -> SamplerDesc
fn clone(&self) -> SamplerDesc
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SamplerDesc
impl Debug for SamplerDesc
sourceimpl Hash for SamplerDesc
impl Hash for SamplerDesc
sourceimpl PartialEq<SamplerDesc> for SamplerDesc
impl PartialEq<SamplerDesc> for SamplerDesc
sourcefn eq(&self, other: &SamplerDesc) -> bool
fn eq(&self, other: &SamplerDesc) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SamplerDesc) -> bool
fn ne(&self, other: &SamplerDesc) -> bool
This method tests for !=.
impl Copy for SamplerDesc
impl Eq for SamplerDesc
impl StructuralEq for SamplerDesc
impl StructuralPartialEq for SamplerDesc
Auto Trait Implementations
impl RefUnwindSafe for SamplerDesc
impl Send for SamplerDesc
impl Sync for SamplerDesc
impl Unpin for SamplerDesc
impl UnwindSafe for SamplerDesc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more