pub struct Locale(/* private fields */);Implementations§
Source§impl Locale
impl Locale
pub fn cls() -> &'static Class<Self>
pub fn cls_ptr() -> *const c_void
pub fn alloc() -> A<Self>
pub fn available_locale_ids_ar() -> Rar<Array<String>>
pub fn available_locale_ids() -> R<Array<String>>
pub fn with_locale_id(id: &String) -> R<Self>
pub fn autoupdating_current_locale_ar() -> Rar<Self>
pub fn autoupdating_current_locale() -> R<Self>
pub fn current_locale_ar() -> Rar<Self>
pub fn current_locale() -> R<Self>
pub fn sys_locale_ar() -> Rar<Self>
pub fn sys_locale() -> R<Self>
pub fn lang_code_ar(&self) -> Rar<String>
pub fn lang_code(&self) -> R<String>
pub fn lang_id_ar(&self) -> Rar<String>
pub fn lang_id(&self) -> R<String>
pub fn region_code_ar(&self) -> Option<Rar<String>>
pub fn region_code(&self) -> Option<R<String>>
Methods from Deref<Target = Id>§
pub unsafe fn value_for_key_throws_ar(&self, key: &String) -> Option<Rar<Self>>
pub unsafe fn value_for_key_throws(&self, key: &String) -> Option<R<Self>>
pub fn value_for_key<'ear>( &self, key: &String, ) -> ExResult<'ear, Option<R<Self>>>
pub unsafe fn set_value_for_key_throws( &mut self, val: Option<&Self>, key: &String, )
pub fn set_value_for_key<'ear>( &mut self, val: Option<&Self>, key: &String, ) -> ExResult<'ear>
pub unsafe fn value_for_key_path_throws_ar( &self, key_path: &String, ) -> Option<Rar<Self>>
pub unsafe fn value_for_key_path_throws( &self, key_path: &String, ) -> Option<R<Self>>
pub fn value_for_key_path<'ear>( &self, key_path: &String, ) -> ExResult<'ear, Option<R<Self>>>
pub unsafe fn set_value_for_key_path_throws( &mut self, val: Option<&Self>, key_path: &String, )
pub fn set_value_for_key_path<'ear>( &mut self, val: Option<&Self>, key_path: &String, ) -> ExResult<'ear>
pub fn as_type_ref(&self) -> &Type
pub fn as_id_ref(&self) -> &Self
pub fn is_equal(&self, other: &Self) -> bool
pub fn hash(&self) -> UInteger
pub fn as_ptr(&self) -> *const Self
Trait Implementations§
Source§impl Obj for Locale
impl Obj for Locale
unsafe fn retain(id: &Self) -> R<Self>
unsafe fn release(id: &mut Self)
fn desc_ar(&self) -> Rar<String>
fn desc(&self) -> R<String>
fn debug_desc_ar(&self) -> Rar<String>
fn debug_desc(&self) -> R<String>
fn responds_to_sel(&self, sel: &Sel) -> bool
fn class(&self) -> &Class<Self>
fn is_kind_of_class<T: Obj>(&self, cls: &Class<T>) -> bool
fn try_cast<T: Obj>(&self, cls: &Class<T>) -> Option<&T>
fn try_cast_mut<T: Obj>(&mut self, cls: &Class<T>) -> Option<&mut T>
fn is_member_of_class<T: Obj>(&self, cls: &Class<T>) -> bool
fn is_tagged_ptr(&self) -> bool
fn as_id_ref(&self) -> &Id
impl Send for Locale
impl StructuralPartialEq for Locale
impl Sync for Locale
Auto Trait Implementations§
impl Freeze for Locale
impl RefUnwindSafe for Locale
impl Unpin for Locale
impl UnsafeUnpin for Locale
impl UnwindSafe for 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