pub struct EvalVisible {
pub name: String,
pub is_arg: bool,
pub index: u32,
pub owner: u32,
}Expand description
One binding an eval can see.
Fields§
§name: StringThe name the eval would write.
is_arg: boolWhether it is a parameter of the function rather than a local.
index: u32The slot index within that table.
owner: u32How many frames up the binding lives: 0 is the function containing the
eval, 1 its caller’s definition and so on. A direct eval sees the whole
chain, and the slot for a name declared in an enclosing function is only known
at compile time.
Trait Implementations§
Source§impl Clone for EvalVisible
impl Clone for EvalVisible
Source§impl Debug for EvalVisible
impl Debug for EvalVisible
Source§impl PartialEq for EvalVisible
impl PartialEq for EvalVisible
impl StructuralPartialEq for EvalVisible
Auto Trait Implementations§
impl Forget for EvalVisible
impl Freeze for EvalVisible
impl Move for EvalVisible
impl RefUnwindSafe for EvalVisible
impl Send for EvalVisiblewhere
RawVecInner: Send,
impl Sync for EvalVisiblewhere
RawVecInner: Sync,
impl Unpin for EvalVisible
impl UnsafeUnpin for EvalVisible
impl UnwindSafe for EvalVisiblewhere
RawVecInner: UnwindSafe,
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