#[repr(transparent)]pub struct SDL_InitStatus(pub c_int);Expand description
The current status of an SDL_InitState structure.
§Availability
This enum is available since SDL 3.2.0.
§Known values (sdl3-sys)
| Associated constant | Global constant | Description |
|---|---|---|
UNINITIALIZED | SDL_INIT_STATUS_UNINITIALIZED | |
INITIALIZING | SDL_INIT_STATUS_INITIALIZING | |
INITIALIZED | SDL_INIT_STATUS_INITIALIZED | |
UNINITIALIZING | SDL_INIT_STATUS_UNINITIALIZING |
Tuple Fields§
§0: c_intImplementations§
Source§impl SDL_InitStatus
impl SDL_InitStatus
pub const UNINITIALIZED: Self
pub const INITIALIZING: Self
pub const INITIALIZED: Self
pub const UNINITIALIZING: Self
Trait Implementations§
Source§impl Clone for SDL_InitStatus
impl Clone for SDL_InitStatus
Source§fn clone(&self) -> SDL_InitStatus
fn clone(&self) -> SDL_InitStatus
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_InitStatus
Available on crate feature debug-impls only.
impl Debug for SDL_InitStatus
Available on crate feature
debug-impls only.Source§impl Default for SDL_InitStatus
impl Default for SDL_InitStatus
Source§fn default() -> SDL_InitStatus
fn default() -> SDL_InitStatus
Returns the “default value” for a type. Read more
Source§impl From<SDL_InitStatus> for c_int
impl From<SDL_InitStatus> for c_int
Source§fn from(value: SDL_InitStatus) -> Self
fn from(value: SDL_InitStatus) -> Self
Converts to this type from the input type.
Source§impl GroupMetadata for SDL_InitStatus
Available on crate feature metadata only.
impl GroupMetadata for SDL_InitStatus
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_InitStatus
impl Hash for SDL_InitStatus
Source§impl Ord for SDL_InitStatus
impl Ord for SDL_InitStatus
Source§fn cmp(&self, other: &SDL_InitStatus) -> Ordering
fn cmp(&self, other: &SDL_InitStatus) -> 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_InitStatus> for c_int
impl PartialEq<SDL_InitStatus> for c_int
Source§impl PartialEq<i32> for SDL_InitStatus
impl PartialEq<i32> for SDL_InitStatus
Source§impl PartialEq for SDL_InitStatus
impl PartialEq for SDL_InitStatus
Source§impl PartialOrd for SDL_InitStatus
impl PartialOrd for SDL_InitStatus
impl Copy for SDL_InitStatus
impl Eq for SDL_InitStatus
impl StructuralPartialEq for SDL_InitStatus
Auto Trait Implementations§
impl Freeze for SDL_InitStatus
impl RefUnwindSafe for SDL_InitStatus
impl Send for SDL_InitStatus
impl Sync for SDL_InitStatus
impl Unpin for SDL_InitStatus
impl UnwindSafe for SDL_InitStatus
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