#[repr(u32)]pub enum TextureSampling {
NearestNeighbor = 0,
Linear = 1,
}Expand description
The sampling mode to use when drawing a texture.
Variants§
Trait Implementations§
Source§impl Clone for TextureSampling
impl Clone for TextureSampling
Source§fn clone(&self) -> TextureSampling
fn clone(&self) -> TextureSampling
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TextureSampling
impl Debug for TextureSampling
Source§impl Hash for TextureSampling
impl Hash for TextureSampling
Source§impl PartialEq for TextureSampling
impl PartialEq for TextureSampling
Source§fn eq(&self, other: &TextureSampling) -> bool
fn eq(&self, other: &TextureSampling) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TextureSampling
impl Eq for TextureSampling
impl StructuralPartialEq for TextureSampling
Auto Trait Implementations§
impl Freeze for TextureSampling
impl RefUnwindSafe for TextureSampling
impl Send for TextureSampling
impl Sync for TextureSampling
impl Unpin for TextureSampling
impl UnsafeUnpin for TextureSampling
impl UnwindSafe for TextureSampling
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