#[repr(transparent)]pub struct SDL_FlashOperation(pub c_int);Expand description
Window flash operation.
§Availability
This enum is available since SDL 3.2.0.
§Known values (sdl3-sys)
| Associated constant | Global constant | Description |
|---|---|---|
CANCEL | SDL_FLASH_CANCEL | Cancel any window flash state |
BRIEFLY | SDL_FLASH_BRIEFLY | Flash the window briefly to get attention |
UNTIL_FOCUSED | SDL_FLASH_UNTIL_FOCUSED | Flash the window until it gets focus |
Tuple Fields§
§0: c_intImplementations§
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 duplicate 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 Debug for SDL_FlashOperation
Available on crate feature debug-impls only.
impl Debug for SDL_FlashOperation
Available on crate feature
debug-impls only.Source§impl Default for SDL_FlashOperation
impl Default for SDL_FlashOperation
Source§fn default() -> SDL_FlashOperation
fn default() -> SDL_FlashOperation
Returns the “default value” for a type. Read more
Source§impl From<SDL_FlashOperation> for c_int
impl From<SDL_FlashOperation> for c_int
Source§fn from(value: SDL_FlashOperation) -> Self
fn from(value: SDL_FlashOperation) -> Self
Converts to this type from the input type.
Source§impl GroupMetadata for SDL_FlashOperation
Available on crate feature metadata only.
impl GroupMetadata for SDL_FlashOperation
Available on crate feature
metadata only.Source§const GROUP_METADATA: &'static Group
const GROUP_METADATA: &'static Group
Metadata for this group
Source§impl Hash for SDL_FlashOperation
impl Hash for SDL_FlashOperation
Source§impl Ord for SDL_FlashOperation
impl Ord for SDL_FlashOperation
Source§fn cmp(&self, other: &SDL_FlashOperation) -> Ordering
fn cmp(&self, other: &SDL_FlashOperation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq<SDL_FlashOperation> for c_int
impl PartialEq<SDL_FlashOperation> for c_int
Source§impl PartialEq<i32> for SDL_FlashOperation
impl PartialEq<i32> for SDL_FlashOperation
Source§impl PartialEq for SDL_FlashOperation
impl PartialEq for SDL_FlashOperation
Source§impl PartialOrd for SDL_FlashOperation
impl PartialOrd for SDL_FlashOperation
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