Enum sdl2_sys::SDL_ScaleMode
source · [−]#[repr(u32)]
pub enum SDL_ScaleMode {
SDL_ScaleModeNearest,
SDL_ScaleModeLinear,
SDL_ScaleModeBest,
}
Expand description
\brief The scaling mode for a texture.
Variants
SDL_ScaleModeNearest
< nearest pixel sampling
SDL_ScaleModeLinear
< linear filtering
SDL_ScaleModeBest
< anisotropic filtering
Trait Implementations
sourceimpl Clone for SDL_ScaleMode
impl Clone for SDL_ScaleMode
sourcefn clone(&self) -> SDL_ScaleMode
fn clone(&self) -> SDL_ScaleMode
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 SDL_ScaleMode
impl Debug for SDL_ScaleMode
sourceimpl Hash for SDL_ScaleMode
impl Hash for SDL_ScaleMode
sourceimpl PartialEq<SDL_ScaleMode> for SDL_ScaleMode
impl PartialEq<SDL_ScaleMode> for SDL_ScaleMode
impl Copy for SDL_ScaleMode
impl Eq for SDL_ScaleMode
impl StructuralEq for SDL_ScaleMode
impl StructuralPartialEq for SDL_ScaleMode
Auto Trait Implementations
impl RefUnwindSafe for SDL_ScaleMode
impl Send for SDL_ScaleMode
impl Sync for SDL_ScaleMode
impl Unpin for SDL_ScaleMode
impl UnwindSafe for SDL_ScaleMode
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