Enum move_lang::diagnostics::codes::UnusedItem
source · #[repr(u8)]
pub enum UnusedItem {
DontStartAtZeroPlaceholder,
Alias,
Variable,
Assignment,
TrailingSemi,
DeadCode,
StructTypeParam,
}
Variants§
Trait Implementations§
source§impl Clone for UnusedItem
impl Clone for UnusedItem
source§fn clone(&self) -> UnusedItem
fn clone(&self) -> UnusedItem
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 UnusedItem
impl Debug for UnusedItem
source§impl DiagnosticCode for UnusedItem
impl DiagnosticCode for UnusedItem
source§impl Hash for UnusedItem
impl Hash for UnusedItem
source§impl PartialEq<UnusedItem> for UnusedItem
impl PartialEq<UnusedItem> for UnusedItem
source§fn eq(&self, other: &UnusedItem) -> bool
fn eq(&self, other: &UnusedItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UnusedItem
impl Eq for UnusedItem
impl StructuralEq for UnusedItem
impl StructuralPartialEq for UnusedItem
Auto Trait Implementations§
impl RefUnwindSafe for UnusedItem
impl Send for UnusedItem
impl Sync for UnusedItem
impl Unpin for UnusedItem
impl UnwindSafe for UnusedItem
Blanket Implementations§
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.