enum ByName {
Single(LocalIdx),
Shadowed(Vec<LocalIdx>),
}
Expand description
Helper struct for indexing over Scope::locals
by name.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ByName
impl RefUnwindSafe for ByName
impl Send for ByName
impl Sync for ByName
impl Unpin for ByName
impl UnwindSafe for ByName
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