pub struct LanguageId(/* private fields */);
Expand description
The canonical identifier for a particular LanguageDefinition
.
Trait Implementations§
Source§impl AsRef<str> for LanguageId
impl AsRef<str> for LanguageId
Source§impl Borrow<str> for LanguageId
impl Borrow<str> for LanguageId
Source§impl Clone for LanguageId
impl Clone for LanguageId
Source§fn clone(&self) -> LanguageId
fn clone(&self) -> LanguageId
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 Debug for LanguageId
impl Debug for LanguageId
Source§impl Default for LanguageId
impl Default for LanguageId
Source§fn default() -> LanguageId
fn default() -> LanguageId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LanguageId
impl<'de> Deserialize<'de> for LanguageId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> From<&'a str> for LanguageId
impl<'a> From<&'a str> for LanguageId
Source§fn from(src: &'a str) -> LanguageId
fn from(src: &'a str) -> LanguageId
Converts to this type from the input type.
Source§impl From<LanguageId> for ConfigDomain
impl From<LanguageId> for ConfigDomain
Source§fn from(src: LanguageId) -> ConfigDomain
fn from(src: LanguageId) -> ConfigDomain
Converts to this type from the input type.
Source§impl Hash for LanguageId
impl Hash for LanguageId
Source§impl Ord for LanguageId
impl Ord for LanguageId
Source§fn cmp(&self, other: &LanguageId) -> Ordering
fn cmp(&self, other: &LanguageId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LanguageId
impl PartialEq for LanguageId
Source§impl PartialOrd for LanguageId
impl PartialOrd for LanguageId
Source§impl Serialize for LanguageId
impl Serialize for LanguageId
impl Eq for LanguageId
impl StructuralPartialEq for LanguageId
Auto Trait Implementations§
impl Freeze for LanguageId
impl RefUnwindSafe for LanguageId
impl Send for LanguageId
impl Sync for LanguageId
impl Unpin for LanguageId
impl UnwindSafe for LanguageId
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