pub enum IdentifierResolution {
Unresolved,
Binding(BindingId),
Definition {
name: Symbol,
instantiation: SubstitutionMap,
},
Method {
method: MethodName,
instantiation: SubstitutionMap,
},
}Variants§
Implementations§
Source§impl IdentifierResolution
impl IdentifierResolution
pub fn binding_id(&self) -> Option<BindingId>
pub fn definition(&self) -> Option<&str>
pub fn method(&self) -> Option<&MethodName>
pub fn callee_name(&self) -> Option<CalleeName>
pub fn instantiation(&self) -> Option<&SubstitutionMap>
Trait Implementations§
Source§impl Clone for IdentifierResolution
impl Clone for IdentifierResolution
Source§impl Debug for IdentifierResolution
impl Debug for IdentifierResolution
impl Eq for IdentifierResolution
Source§impl PartialEq for IdentifierResolution
impl PartialEq for IdentifierResolution
impl StructuralPartialEq for IdentifierResolution
Auto Trait Implementations§
impl Forget for IdentifierResolution
impl Freeze for IdentifierResolution
impl Move for IdentifierResolution
impl RefUnwindSafe for IdentifierResolution
impl Send for IdentifierResolution
impl Sync for IdentifierResolution
impl Unpin for IdentifierResolution
impl UnsafeUnpin for IdentifierResolutionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(EcoString, Type)>: UnsafeUnpin,
impl UnwindSafe for IdentifierResolutionwhere
NonNull<u8>: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<Box<[Type]>>: UnwindSafe,
Arc<FunctionType>: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
Arc<Spelling>: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more