Struct lsp2::LanguageServerId
source · #[repr(transparent)]pub struct LanguageServerId(pub usize);
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Clone for LanguageServerId
impl Clone for LanguageServerId
source§fn clone(&self) -> LanguageServerId
fn clone(&self) -> LanguageServerId
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 LanguageServerId
impl Debug for LanguageServerId
source§impl Display for LanguageServerId
impl Display for LanguageServerId
source§impl Hash for LanguageServerId
impl Hash for LanguageServerId
source§impl Ord for LanguageServerId
impl Ord for LanguageServerId
source§fn cmp(&self, other: &LanguageServerId) -> Ordering
fn cmp(&self, other: &LanguageServerId) -> 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<LanguageServerId> for LanguageServerId
impl PartialEq<LanguageServerId> for LanguageServerId
source§fn eq(&self, other: &LanguageServerId) -> bool
fn eq(&self, other: &LanguageServerId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<LanguageServerId> for LanguageServerId
impl PartialOrd<LanguageServerId> for LanguageServerId
source§fn partial_cmp(&self, other: &LanguageServerId) -> Option<Ordering>
fn partial_cmp(&self, other: &LanguageServerId) -> Option<Ordering>
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 moreimpl Copy for LanguageServerId
impl Eq for LanguageServerId
impl StructuralEq for LanguageServerId
impl StructuralPartialEq for LanguageServerId
Auto Trait Implementations§
impl RefUnwindSafe for LanguageServerId
impl Send for LanguageServerId
impl Sync for LanguageServerId
impl Unpin for LanguageServerId
impl UnwindSafe for LanguageServerId
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.