Struct swift_runtime_sys::root::std::locale
source · #[repr(C, align(8))]pub struct locale {
pub _bindgen_opaque_blob: u64,
}
Fields§
§_bindgen_opaque_blob: u64
Implementations§
source§impl locale
impl locale
pub unsafe fn name(&self) -> string
pub unsafe fn global(arg1: *const locale) -> locale
pub unsafe fn classic() -> *const locale
pub unsafe fn new() -> Self
pub unsafe fn new1(arg1: *const locale) -> Self
pub unsafe fn new2(arg1: *const c_char) -> Self
pub unsafe fn new3(arg1: *const string) -> Self
pub unsafe fn new4( arg1: *const locale, arg2: *const c_char, arg3: locale_category, ) -> Self
pub unsafe fn new5( arg1: *const locale, arg2: *const string, arg3: locale_category, ) -> Self
pub unsafe fn new6( arg1: *const locale, arg2: *const locale, arg3: locale_category, ) -> Self
pub unsafe fn destruct(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for locale
impl RefUnwindSafe for locale
impl Send for locale
impl Sync for locale
impl Unpin 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)