pub enum EntIndex {
Const(OpIndex),
LocalVar(OpIndex),
UpValue(OpIndex),
PackageMember(PackageKey, IdentKey),
BuiltInVal(Opcode),
BuiltInType(GosMetadata),
Blank,
}
Expand description
EntIndex is for addressing a variable in the scope of a function
Variants§
Const(OpIndex)
LocalVar(OpIndex)
UpValue(OpIndex)
PackageMember(PackageKey, IdentKey)
BuiltInVal(Opcode)
BuiltInType(GosMetadata)
Blank
Trait Implementations§
impl Copy for EntIndex
impl StructuralPartialEq for EntIndex
Auto Trait Implementations§
impl Freeze for EntIndex
impl RefUnwindSafe for EntIndex
impl Send for EntIndex
impl Sync for EntIndex
impl Unpin for EntIndex
impl UnwindSafe for EntIndex
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