Enum ra_ap_ide::MonikerDescriptorKind
source · pub enum MonikerDescriptorKind {
Namespace,
Type,
Term,
Method,
TypeParameter,
Parameter,
Macro,
Meta,
}
Variants§
Trait Implementations§
source§impl Clone for MonikerDescriptorKind
impl Clone for MonikerDescriptorKind
source§fn clone(&self) -> MonikerDescriptorKind
fn clone(&self) -> MonikerDescriptorKind
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 MonikerDescriptorKind
impl Debug for MonikerDescriptorKind
source§impl From<SymbolInformationKind> for MonikerDescriptorKind
impl From<SymbolInformationKind> for MonikerDescriptorKind
source§fn from(value: SymbolInformationKind) -> Self
fn from(value: SymbolInformationKind) -> Self
Converts to this type from the input type.
source§impl Hash for MonikerDescriptorKind
impl Hash for MonikerDescriptorKind
source§impl Ord for MonikerDescriptorKind
impl Ord for MonikerDescriptorKind
source§fn cmp(&self, other: &MonikerDescriptorKind) -> Ordering
fn cmp(&self, other: &MonikerDescriptorKind) -> 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 MonikerDescriptorKind
impl PartialEq for MonikerDescriptorKind
source§fn eq(&self, other: &MonikerDescriptorKind) -> bool
fn eq(&self, other: &MonikerDescriptorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MonikerDescriptorKind
impl PartialOrd for MonikerDescriptorKind
source§fn partial_cmp(&self, other: &MonikerDescriptorKind) -> Option<Ordering>
fn partial_cmp(&self, other: &MonikerDescriptorKind) -> 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 Eq for MonikerDescriptorKind
impl StructuralPartialEq for MonikerDescriptorKind
Auto Trait Implementations§
impl Freeze for MonikerDescriptorKind
impl RefUnwindSafe for MonikerDescriptorKind
impl Send for MonikerDescriptorKind
impl Sync for MonikerDescriptorKind
impl Unpin for MonikerDescriptorKind
impl UnwindSafe for MonikerDescriptorKind
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
source§impl<T> Cast for T
impl<T> Cast for T
source§fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
Cast a value to type
U
using CastTo
.source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.