#[repr(transparent)]pub struct SDL_SystemTheme(pub c_int);Expand description
System theme.
§Availability
This enum is available since SDL 3.2.0.
§Known values (sdl3-sys)
| Associated constant | Global constant | Description |
|---|---|---|
UNKNOWN | SDL_SYSTEM_THEME_UNKNOWN | Unknown system theme |
LIGHT | SDL_SYSTEM_THEME_LIGHT | Light colored system theme |
DARK | SDL_SYSTEM_THEME_DARK | Dark colored system theme |
Tuple Fields§
§0: c_intImplementations§
Trait Implementations§
Source§impl Clone for SDL_SystemTheme
impl Clone for SDL_SystemTheme
Source§fn clone(&self) -> SDL_SystemTheme
fn clone(&self) -> SDL_SystemTheme
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_SystemTheme
Available on crate feature debug-impls only.
impl Debug for SDL_SystemTheme
Available on crate feature
debug-impls only.Source§impl Default for SDL_SystemTheme
impl Default for SDL_SystemTheme
Source§fn default() -> SDL_SystemTheme
fn default() -> SDL_SystemTheme
Returns the “default value” for a type. Read more
Source§impl From<SDL_SystemTheme> for c_int
impl From<SDL_SystemTheme> for c_int
Source§fn from(value: SDL_SystemTheme) -> Self
fn from(value: SDL_SystemTheme) -> Self
Converts to this type from the input type.
Source§impl GroupMetadata for SDL_SystemTheme
Available on crate feature metadata only.
impl GroupMetadata for SDL_SystemTheme
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_SystemTheme
impl Hash for SDL_SystemTheme
Source§impl Ord for SDL_SystemTheme
impl Ord for SDL_SystemTheme
Source§fn cmp(&self, other: &SDL_SystemTheme) -> Ordering
fn cmp(&self, other: &SDL_SystemTheme) -> 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_SystemTheme> for c_int
impl PartialEq<SDL_SystemTheme> for c_int
Source§impl PartialEq<i32> for SDL_SystemTheme
impl PartialEq<i32> for SDL_SystemTheme
Source§impl PartialEq for SDL_SystemTheme
impl PartialEq for SDL_SystemTheme
Source§impl PartialOrd for SDL_SystemTheme
impl PartialOrd for SDL_SystemTheme
impl Copy for SDL_SystemTheme
impl Eq for SDL_SystemTheme
impl StructuralPartialEq for SDL_SystemTheme
Auto Trait Implementations§
impl Freeze for SDL_SystemTheme
impl RefUnwindSafe for SDL_SystemTheme
impl Send for SDL_SystemTheme
impl Sync for SDL_SystemTheme
impl Unpin for SDL_SystemTheme
impl UnwindSafe for SDL_SystemTheme
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