Enum ra_ap_ide::MonikerKind
source · pub enum MonikerKind {
Import,
Export,
}
Variants§
Trait Implementations§
source§impl Clone for MonikerKind
impl Clone for MonikerKind
source§fn clone(&self) -> MonikerKind
fn clone(&self) -> MonikerKind
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 MonikerKind
impl Debug for MonikerKind
source§impl Hash for MonikerKind
impl Hash for MonikerKind
source§impl Ord for MonikerKind
impl Ord for MonikerKind
source§fn cmp(&self, other: &MonikerKind) -> Ordering
fn cmp(&self, other: &MonikerKind) -> 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 MonikerKind
impl PartialEq for MonikerKind
source§fn eq(&self, other: &MonikerKind) -> bool
fn eq(&self, other: &MonikerKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MonikerKind
impl PartialOrd for MonikerKind
source§fn partial_cmp(&self, other: &MonikerKind) -> Option<Ordering>
fn partial_cmp(&self, other: &MonikerKind) -> 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 MonikerKind
impl StructuralPartialEq for MonikerKind
Auto Trait Implementations§
impl Freeze for MonikerKind
impl RefUnwindSafe for MonikerKind
impl Send for MonikerKind
impl Sync for MonikerKind
impl Unpin for MonikerKind
impl UnwindSafe for MonikerKind
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.