Struct language2::LanguageServerName
source · pub struct LanguageServerName(pub Arc<str>);
Tuple Fields§
§0: Arc<str>
Trait Implementations§
source§impl Clone for LanguageServerName
impl Clone for LanguageServerName
source§fn clone(&self) -> LanguageServerName
fn clone(&self) -> LanguageServerName
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 LanguageServerName
impl Debug for LanguageServerName
source§impl Hash for LanguageServerName
impl Hash for LanguageServerName
source§impl PartialEq<LanguageServerName> for LanguageServerName
impl PartialEq<LanguageServerName> for LanguageServerName
source§fn eq(&self, other: &LanguageServerName) -> bool
fn eq(&self, other: &LanguageServerName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LanguageServerName
impl StructuralEq for LanguageServerName
impl StructuralPartialEq for LanguageServerName
Auto Trait Implementations§
impl RefUnwindSafe for LanguageServerName
impl Send for LanguageServerName
impl Sync for LanguageServerName
impl Unpin for LanguageServerName
impl UnwindSafe for LanguageServerName
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
§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
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.