pub enum NameContext {
Class,
Function,
Const,
}Expand description
Which import table a name is looked up in.
Variants§
Trait Implementations§
Source§impl Clone for NameContext
impl Clone for NameContext
impl Copy for NameContext
Source§impl Debug for NameContext
impl Debug for NameContext
impl Eq for NameContext
Source§impl PartialEq for NameContext
impl PartialEq for NameContext
impl StructuralPartialEq for NameContext
Auto Trait Implementations§
impl Freeze for NameContext
impl RefUnwindSafe for NameContext
impl Send for NameContext
impl Sync for NameContext
impl Unpin for NameContext
impl UnsafeUnpin for NameContext
impl UnwindSafe for NameContext
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