pub enum ElementKind {
Constant,
Variable,
Module,
Function,
TraitFunction,
Type,
Variant,
Trait,
Impl,
}
Variants§
Trait Implementations§
source§impl Clone for ElementKind
impl Clone for ElementKind
source§fn clone(&self) -> ElementKind
fn clone(&self) -> ElementKind
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 ElementKind
impl Debug for ElementKind
source§impl Display for ElementKind
impl Display for ElementKind
source§impl From<&ResolvedConcreteItem> for ElementKind
impl From<&ResolvedConcreteItem> for ElementKind
source§fn from(val: &ResolvedConcreteItem) -> Self
fn from(val: &ResolvedConcreteItem) -> Self
Converts to this type from the input type.
source§impl Hash for ElementKind
impl Hash for ElementKind
source§impl PartialEq for ElementKind
impl PartialEq for ElementKind
source§fn eq(&self, other: &ElementKind) -> bool
fn eq(&self, other: &ElementKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ElementKind
impl Eq for ElementKind
impl StructuralEq for ElementKind
impl StructuralPartialEq for ElementKind
Auto Trait Implementations§
impl RefUnwindSafe for ElementKind
impl Send for ElementKind
impl Sync for ElementKind
impl Unpin for ElementKind
impl UnwindSafe for ElementKind
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<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§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.