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