Enum sdl2_sys::SDL_RendererFlip
source · #[repr(u32)]pub enum SDL_RendererFlip {
SDL_FLIP_NONE = 0,
SDL_FLIP_HORIZONTAL = 1,
SDL_FLIP_VERTICAL = 2,
}
Expand description
Flip constants for SDL_RenderCopyEx
Variants§
SDL_FLIP_NONE = 0
< Do not flip
SDL_FLIP_HORIZONTAL = 1
< flip horizontally
SDL_FLIP_VERTICAL = 2
< flip vertically
Trait Implementations§
source§impl Clone for SDL_RendererFlip
impl Clone for SDL_RendererFlip
source§fn clone(&self) -> SDL_RendererFlip
fn clone(&self) -> SDL_RendererFlip
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 Hash for SDL_RendererFlip
impl Hash for SDL_RendererFlip
source§impl PartialEq for SDL_RendererFlip
impl PartialEq for SDL_RendererFlip
source§fn eq(&self, other: &SDL_RendererFlip) -> bool
fn eq(&self, other: &SDL_RendererFlip) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SDL_RendererFlip
impl Eq for SDL_RendererFlip
impl StructuralPartialEq for SDL_RendererFlip
Auto Trait Implementations§
impl Freeze for SDL_RendererFlip
impl RefUnwindSafe for SDL_RendererFlip
impl Send for SDL_RendererFlip
impl Sync for SDL_RendererFlip
impl Unpin for SDL_RendererFlip
impl UnwindSafe for SDL_RendererFlip
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