pub struct Languages { /* private fields */ }Expand description
The user’s preferred languages, most preferred first, as BCP 47 tags
(localeSettings()’s languages): never empty, at most eight, each once. Held inline so
that the environment stays Copy.
Implementations§
Trait Implementations§
impl Copy for Languages
impl Eq for Languages
impl StructuralPartialEq for Languages
Auto Trait Implementations§
impl Forget for Languages
impl Freeze for Languages
impl Move for Languages
impl RefUnwindSafe for Languages
impl Send for Languages
impl Sync for Languages
impl Unpin for Languages
impl UnsafeUnpin for Languages
impl UnwindSafe for Languages
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.