Skip to main content

luaur_analysis/records/
index.rs

1#[allow(non_camel_case_types)]
2#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
3pub struct Index {
4    /// The 0-based index to use for the lookup.
5    pub(crate) index: usize,
6    /// The sort of thing we're indexing from, this is used in stringifying the type path for errors.
7    pub(crate) variant: crate::enums::variant::Variant,
8}