pub enum Upvalue {
Outer(u8),
Stack(u8),
}
Expand description
An entry in the upvalue table.
Variants§
Outer(u8)
An upvalue inherited from the outer function’s upvalues.
Stack(u8)
An upvalue in the outer function’s registers.
Trait Implementations§
impl Copy for Upvalue
impl StructuralPartialEq for Upvalue
Auto Trait Implementations§
impl Freeze for Upvalue
impl RefUnwindSafe for Upvalue
impl Send for Upvalue
impl Sync for Upvalue
impl Unpin for Upvalue
impl UnwindSafe for Upvalue
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