#[repr(transparent)]pub struct SDL_TimeFormat(pub c_uint);Expand description
The preferred time format of the current system locale.
Available Since: This enum is available since SDL 3.2.0.
See Also: SDL_GetDateTimeLocalePreferences
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_TimeFormat
impl SDL_TimeFormat
Sourcepub const SDL_TIME_FORMAT_24HR: SDL_TimeFormat
pub const SDL_TIME_FORMAT_24HR: SDL_TimeFormat
< 24 hour time
Sourcepub const SDL_TIME_FORMAT_12HR: SDL_TimeFormat
pub const SDL_TIME_FORMAT_12HR: SDL_TimeFormat
< 12 hour time
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
impl Debug for SDL_TimeFormat
Source§impl Hash for SDL_TimeFormat
impl Hash for SDL_TimeFormat
Source§impl PartialEq for SDL_TimeFormat
impl PartialEq 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 UnsafeUnpin 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