Struct json_ld_syntax::LenientLangTag 
source · pub struct LenientLangTag(/* private fields */);Expand description
Language tag that may not be well-formed.
Implementations§
Trait Implementations§
source§impl AsRef<LenientLangTag> for LenientLangTagBuf
 
impl AsRef<LenientLangTag> for LenientLangTagBuf
source§fn as_ref(&self) -> &LenientLangTag
 
fn as_ref(&self) -> &LenientLangTag
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<str> for LenientLangTag
 
impl AsRef<str> for LenientLangTag
source§impl Borrow<LenientLangTag> for LenientLangTagBuf
 
impl Borrow<LenientLangTag> for LenientLangTagBuf
source§fn borrow(&self) -> &LenientLangTag
 
fn borrow(&self) -> &LenientLangTag
Immutably borrows from an owned value. Read more
source§impl Borrow<str> for LenientLangTag
 
impl Borrow<str> for LenientLangTag
source§impl Debug for LenientLangTag
 
impl Debug for LenientLangTag
source§impl Display for LenientLangTag
 
impl Display for LenientLangTag
source§impl Hash for LenientLangTag
 
impl Hash for LenientLangTag
source§impl Ord for LenientLangTag
 
impl Ord for LenientLangTag
source§impl PartialEq for LenientLangTag
 
impl PartialEq for LenientLangTag
source§impl PartialOrd for LenientLangTag
 
impl PartialOrd for LenientLangTag
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moresource§impl PrecomputeSize for LenientLangTag
 
impl PrecomputeSize for LenientLangTag
source§impl Print for LenientLangTag
 
impl Print for LenientLangTag
fn fmt_with( &self, f: &mut Formatter<'_>, _options: &Options, _indent: usize, ) -> Result
source§fn pretty_print(&self) -> Printed<'_, Self>
 
fn pretty_print(&self) -> Printed<'_, Self>
Print the value with 
Options::pretty options.source§fn compact_print(&self) -> Printed<'_, Self>
 
fn compact_print(&self) -> Printed<'_, Self>
Print the value with 
Options::compact options.source§fn inline_print(&self) -> Printed<'_, Self>
 
fn inline_print(&self) -> Printed<'_, Self>
Print the value with 
Options::inline options.source§fn print_with(&self, options: Options) -> Printed<'_, Self>
 
fn print_with(&self, options: Options) -> Printed<'_, Self>
Print the value with the given options.
source§impl ToOwned for LenientLangTag
 
impl ToOwned for LenientLangTag
§type Owned = LenientLangTagBuf
 
type Owned = LenientLangTagBuf
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
 
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
 
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Eq for LenientLangTag
Auto Trait Implementations§
impl Freeze for LenientLangTag
impl RefUnwindSafe for LenientLangTag
impl Send for LenientLangTag
impl !Sized for LenientLangTag
impl Sync for LenientLangTag
impl Unpin for LenientLangTag
impl UnwindSafe for LenientLangTag
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
source§impl<T> CallHasher for T
 
impl<T> CallHasher for T
source§impl<Q, K> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
fn equivalent(&self, key: &K) -> bool
source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
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.