Struct screen_13::driver::SamplerDesc
source · [−]pub struct SamplerDesc {
pub texel_filter: Filter,
pub mipmap_mode: SamplerMipmapMode,
pub address_modes: SamplerAddressMode,
}Fields
texel_filter: Filtermipmap_mode: SamplerMipmapModeaddress_modes: SamplerAddressModeTrait 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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more