pub struct LanguageId(/* private fields */);Expand description
Identifier for a language configuration entry (e.g. "rust", "python").
Implementations§
Trait Implementations§
Source§impl Clone for LanguageId
impl Clone for LanguageId
Source§fn clone(&self) -> LanguageId
fn clone(&self) -> LanguageId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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
impl Eq for LanguageId
Source§impl From<&str> for LanguageId
impl From<&str> for LanguageId
Source§impl From<String> for LanguageId
impl From<String> for LanguageId
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 (const: unstable) · 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§fn eq(&self, other: &LanguageId) -> bool
fn eq(&self, other: &LanguageId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LanguageId
impl PartialOrd 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 UnsafeUnpin 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