pub struct LocaleInfo {
pub code: String,
pub label: String,
pub is_current: bool,
}Expand description
语言信息
Fields§
§code: String语言代码
label: String语言标签
is_current: bool是否为当前语言
Trait Implementations§
Source§impl Clone for LocaleInfo
impl Clone for LocaleInfo
Source§fn clone(&self) -> LocaleInfo
fn clone(&self) -> LocaleInfo
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 LocaleInfo
impl RefUnwindSafe for LocaleInfo
impl Send for LocaleInfo
impl Sync for LocaleInfo
impl Unpin for LocaleInfo
impl UnsafeUnpin for LocaleInfo
impl UnwindSafe for LocaleInfo
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