Enum sdl2_sys::SDL_FlashOperation
source · #[repr(u32)]pub enum SDL_FlashOperation {
SDL_FLASH_CANCEL = 0,
SDL_FLASH_BRIEFLY = 1,
SDL_FLASH_UNTIL_FOCUSED = 2,
}
Expand description
\brief Window flash operation
Variants§
SDL_FLASH_CANCEL = 0
< Cancel any window flash state
SDL_FLASH_BRIEFLY = 1
< Flash the window briefly to get attention
SDL_FLASH_UNTIL_FOCUSED = 2
< Flash the window until it gets focus
Trait Implementations§
source§impl Clone for SDL_FlashOperation
impl Clone for SDL_FlashOperation
source§fn clone(&self) -> SDL_FlashOperation
fn clone(&self) -> SDL_FlashOperation
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_FlashOperation
impl Hash for SDL_FlashOperation
source§impl PartialEq for SDL_FlashOperation
impl PartialEq for SDL_FlashOperation
source§fn eq(&self, other: &SDL_FlashOperation) -> bool
fn eq(&self, other: &SDL_FlashOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SDL_FlashOperation
impl Eq for SDL_FlashOperation
impl StructuralPartialEq for SDL_FlashOperation
Auto Trait Implementations§
impl Freeze for SDL_FlashOperation
impl RefUnwindSafe for SDL_FlashOperation
impl Send for SDL_FlashOperation
impl Sync for SDL_FlashOperation
impl Unpin for SDL_FlashOperation
impl UnwindSafe for SDL_FlashOperation
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