#[repr(transparent)]pub struct SDL_TimeFormat(pub c_int);Expand description
The preferred time format of the current system locale.
§Availability
This enum is available since SDL 3.2.0.
§See also
§Known values (sdl3-sys)
| Associated constant | Global constant | Description |
|---|---|---|
_24HR | SDL_TIME_FORMAT_24HR | 24 hour time |
_12HR | SDL_TIME_FORMAT_12HR | 12 hour time |
Tuple Fields§
§0: c_intImplementations§
Trait Implementations§
Source§impl Clone for SDL_TimeFormat
impl Clone for SDL_TimeFormat
Source§fn clone(&self) -> SDL_TimeFormat
fn clone(&self) -> SDL_TimeFormat
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_TimeFormat
Available on crate feature debug-impls only.
impl Debug for SDL_TimeFormat
Available on crate feature
debug-impls only.Source§impl Default for SDL_TimeFormat
impl Default for SDL_TimeFormat
Source§fn default() -> SDL_TimeFormat
fn default() -> SDL_TimeFormat
Returns the “default value” for a type. Read more
Source§impl From<SDL_TimeFormat> for c_int
impl From<SDL_TimeFormat> for c_int
Source§fn from(value: SDL_TimeFormat) -> Self
fn from(value: SDL_TimeFormat) -> Self
Converts to this type from the input type.
Source§impl GroupMetadata for SDL_TimeFormat
Available on crate feature metadata only.
impl GroupMetadata for SDL_TimeFormat
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_TimeFormat
impl Hash for SDL_TimeFormat
Source§impl Ord for SDL_TimeFormat
impl Ord for SDL_TimeFormat
Source§fn cmp(&self, other: &SDL_TimeFormat) -> Ordering
fn cmp(&self, other: &SDL_TimeFormat) -> 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_TimeFormat> for c_int
impl PartialEq<SDL_TimeFormat> for c_int
Source§impl PartialEq<i32> for SDL_TimeFormat
impl PartialEq<i32> for SDL_TimeFormat
Source§impl PartialEq for SDL_TimeFormat
impl PartialEq for SDL_TimeFormat
Source§impl PartialOrd for SDL_TimeFormat
impl PartialOrd for SDL_TimeFormat
impl Copy for SDL_TimeFormat
impl Eq for SDL_TimeFormat
impl StructuralPartialEq for SDL_TimeFormat
Auto Trait Implementations§
impl Freeze for SDL_TimeFormat
impl RefUnwindSafe for SDL_TimeFormat
impl Send for SDL_TimeFormat
impl Sync for SDL_TimeFormat
impl Unpin for SDL_TimeFormat
impl UnwindSafe for SDL_TimeFormat
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