Struct sdl2_sys::SDL_Locale
source · #[repr(C)]pub struct SDL_Locale {
pub language: *const c_char,
pub country: *const c_char,
}
Fields§
§language: *const c_char
< A language name, like “en” for English.
country: *const c_char
< A country, like “US” for America. Can be NULL.
Trait Implementations§
source§impl Clone for SDL_Locale
impl Clone for SDL_Locale
source§fn clone(&self) -> SDL_Locale
fn clone(&self) -> SDL_Locale
Returns a copy 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 moreimpl Copy for SDL_Locale
Auto Trait Implementations§
impl Freeze for SDL_Locale
impl RefUnwindSafe for SDL_Locale
impl !Send for SDL_Locale
impl !Sync for SDL_Locale
impl Unpin for SDL_Locale
impl UnwindSafe for SDL_Locale
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