Skip to main content

nifty_runtime/
path.rs

1//! Paths into a value, shared by the interpreter's and compiled apps' places.
2
3/// One step from a value into part of it: a struct's field, or a list's item, by position.
4#[derive(Clone, Copy, Debug, PartialEq, Eq)]
5pub enum Step {
6    Field(usize),
7    Index(usize),
8}