#[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
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