pub enum LangSelection<'a> {
Any,
Lang(Nullable<(Option<LenientLanguageTag<'a>>, Option<Direction>)>),
}
Variants
Any
Lang(Nullable<(Option<LenientLanguageTag<'a>>, Option<Direction>)>)
Trait Implementations
sourceimpl<'a> Clone for LangSelection<'a>
impl<'a> Clone for LangSelection<'a>
sourcefn clone(&self) -> LangSelection<'a>
fn clone(&self) -> LangSelection<'a>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for LangSelection<'a>
impl<'a> Debug for LangSelection<'a>
sourceimpl<'a> PartialEq<LangSelection<'a>> for LangSelection<'a>
impl<'a> PartialEq<LangSelection<'a>> for LangSelection<'a>
sourcefn eq(&self, other: &LangSelection<'a>) -> bool
fn eq(&self, other: &LangSelection<'a>) -> bool
impl<'a> Copy for LangSelection<'a>
impl<'a> Eq for LangSelection<'a>
impl<'a> StructuralEq for LangSelection<'a>
impl<'a> StructuralPartialEq for LangSelection<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for LangSelection<'a>
impl<'a> Send for LangSelection<'a>
impl<'a> Sync for LangSelection<'a>
impl<'a> Unpin for LangSelection<'a>
impl<'a> UnwindSafe for LangSelection<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> BorrowStripped for T
impl<T> BorrowStripped for T
sourceimpl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.