pub enum Anisotropic {
Off,
On(u8),
}
Expand description
Anisotropic filtering description for the sampler.
Variants§
Off
Disable anisotropic filtering.
On(u8)
Enable anisotropic filtering with the anisotropy clamp value.
Trait Implementations§
Source§impl Clone for Anisotropic
impl Clone for Anisotropic
Source§fn clone(&self) -> Anisotropic
fn clone(&self) -> Anisotropic
Returns a copy 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 Debug for Anisotropic
impl Debug for Anisotropic
Source§impl Hash for Anisotropic
impl Hash for Anisotropic
Source§impl Ord for Anisotropic
impl Ord for Anisotropic
Source§fn cmp(&self, other: &Anisotropic) -> Ordering
fn cmp(&self, other: &Anisotropic) -> 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 Anisotropic
impl PartialEq for Anisotropic
Source§impl PartialOrd for Anisotropic
impl PartialOrd for Anisotropic
impl Copy for Anisotropic
impl Eq for Anisotropic
impl StructuralPartialEq for Anisotropic
Auto Trait Implementations§
impl Freeze for Anisotropic
impl RefUnwindSafe for Anisotropic
impl Send for Anisotropic
impl Sync for Anisotropic
impl Unpin for Anisotropic
impl UnwindSafe for Anisotropic
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)