#[repr(C)]pub struct LocalizationApi {
pub translate: RawLocalizationTranslate,
pub translate_to: RawLocalizationTranslateTo,
pub set: RawLocalizationSet,
}Fields§
§translate: RawLocalizationTranslateTranslates the identifier into the current active language. Returns the same identifier if unavailable.
translate_to: RawLocalizationTranslateToTranslates the identifier into the given language. Returns the same identifier if unavailable.
set: RawLocalizationSetSet a translated string at runtime.
Trait Implementations§
Source§impl Clone for LocalizationApi
impl Clone for LocalizationApi
Source§fn clone(&self) -> LocalizationApi
fn clone(&self) -> LocalizationApi
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 moreAuto Trait Implementations§
impl Freeze for LocalizationApi
impl RefUnwindSafe for LocalizationApi
impl Send for LocalizationApi
impl Sync for LocalizationApi
impl Unpin for LocalizationApi
impl UnwindSafe for LocalizationApi
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