pub enum InlayHintKind {
Type,
Parameter,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for InlayHintKind
impl Clone for InlayHintKind
source§fn clone(&self) -> InlayHintKind
fn clone(&self) -> InlayHintKind
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 InlayHintKind
impl Debug for InlayHintKind
source§impl Hash for InlayHintKind
impl Hash for InlayHintKind
source§impl PartialEq<InlayHintKind> for InlayHintKind
impl PartialEq<InlayHintKind> for InlayHintKind
source§fn eq(&self, other: &InlayHintKind) -> bool
fn eq(&self, other: &InlayHintKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InlayHintKind
impl Eq for InlayHintKind
impl StructuralEq for InlayHintKind
impl StructuralPartialEq for InlayHintKind
Auto Trait Implementations§
impl RefUnwindSafe for InlayHintKind
impl Send for InlayHintKind
impl Sync for InlayHintKind
impl Unpin for InlayHintKind
impl UnwindSafe for InlayHintKind
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.