Enum json_ld_core::context::inverse::LangSelection
source · pub enum LangSelection<'a> {
Any,
Lang(Nullable<(Option<LenientLanguageTag<'a>>, Option<Direction>)>),
}
Variants§
Trait Implementations§
source§impl<'a> Clone for LangSelection<'a>
impl<'a> Clone for LangSelection<'a>
source§fn clone(&self) -> LangSelection<'a>
fn clone(&self) -> LangSelection<'a>
Returns a copy 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 moresource§impl<'a> Debug for LangSelection<'a>
impl<'a> Debug for LangSelection<'a>
source§impl<'a> PartialEq<LangSelection<'a>> for LangSelection<'a>
impl<'a> PartialEq<LangSelection<'a>> for LangSelection<'a>
source§fn eq(&self, other: &LangSelection<'a>) -> bool
fn eq(&self, other: &LangSelection<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
source§impl<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
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.