Enum move_lang::diagnostics::codes::TypeSafety
source · #[repr(u8)]
pub enum TypeSafety {
Show 22 variants
DontStartAtZeroPlaceholder,
Visibility,
ScriptContext,
BuiltinOperation,
ExpectedBaseType,
ExpectedSingleType,
SubtypeError,
JoinError,
RecursiveType,
ExpectedSpecificType,
UninferredType,
ScriptSignature,
TypeForConstant,
UnsupportedConstant,
InvalidLoopControl,
InvalidNativeUsage,
TooFewArguments,
TooManyArguments,
CyclicData,
CyclicInstantiation,
MissingAcquires,
InvalidNum,
}
Variants§
DontStartAtZeroPlaceholder
Visibility
ScriptContext
BuiltinOperation
ExpectedBaseType
ExpectedSingleType
SubtypeError
JoinError
RecursiveType
ExpectedSpecificType
UninferredType
ScriptSignature
TypeForConstant
UnsupportedConstant
InvalidLoopControl
InvalidNativeUsage
TooFewArguments
TooManyArguments
CyclicData
CyclicInstantiation
MissingAcquires
InvalidNum
Trait Implementations§
source§impl Clone for TypeSafety
impl Clone for TypeSafety
source§fn clone(&self) -> TypeSafety
fn clone(&self) -> TypeSafety
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 TypeSafety
impl Debug for TypeSafety
source§impl DiagnosticCode for TypeSafety
impl DiagnosticCode for TypeSafety
source§impl Hash for TypeSafety
impl Hash for TypeSafety
source§impl PartialEq<TypeSafety> for TypeSafety
impl PartialEq<TypeSafety> for TypeSafety
source§fn eq(&self, other: &TypeSafety) -> bool
fn eq(&self, other: &TypeSafety) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TypeSafety
impl Eq for TypeSafety
impl StructuralEq for TypeSafety
impl StructuralPartialEq for TypeSafety
Auto Trait Implementations§
impl RefUnwindSafe for TypeSafety
impl Send for TypeSafety
impl Sync for TypeSafety
impl Unpin for TypeSafety
impl UnwindSafe for TypeSafety
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.