pub struct LanguageChoice {
pub locale: String,
pub label: String,
pub current: bool,
}Expand description
One locale the shell’s language menu offers.
Fields§
§locale: StringThe locale the choice posts, as its tag spells it.
label: StringWhat the choice renders, in the locale the page reads.
current: boolWhether the page reads in this locale.
Trait Implementations§
Source§impl Clone for LanguageChoice
impl Clone for LanguageChoice
Source§impl Debug for LanguageChoice
impl Debug for LanguageChoice
impl Eq for LanguageChoice
Source§impl PartialEq for LanguageChoice
impl PartialEq for LanguageChoice
impl StructuralPartialEq for LanguageChoice
Auto Trait Implementations§
impl Forget for LanguageChoice
impl Freeze for LanguageChoice
impl Move for LanguageChoice
impl RefUnwindSafe for LanguageChoice
impl Send for LanguageChoice
impl Sync for LanguageChoice
impl Unpin for LanguageChoice
impl UnsafeUnpin for LanguageChoice
impl UnwindSafe for LanguageChoice
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.