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