Struct phoenix_lang::resolver::UpValue
source · 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: usizeTrait 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
source§impl PartialEq for UpValue
impl PartialEq for UpValue
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