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