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