pub struct UpValue {
pub is_local: bool,
pub index: usize,
}
Expand description
Similar to local, but for upvalues An upvalue refers to a local variable in an enclosing function
Fields§
§is_local: bool
§index: usize
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UpValue
impl<'de> Deserialize<'de> for UpValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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