public members in ScopeIdx seem to be useful in a frontend GUI

This commit is contained in:
Yehowshua Immanuel 2022-09-15 10:08:17 -04:00
parent 9033f977d5
commit 61a68a4fbe

View file

@ -27,11 +27,11 @@ pub(super) struct Metadata {
} }
// We do a lot of arena allocation in this codebase. // We do a lot of arena allocation in this codebase.
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone, PartialEq)]
pub struct ScopeIdx(pub usize); pub struct ScopeIdx(pub usize);
#[derive(Debug, Copy, Clone, PartialEq)] #[derive(Debug, Copy, Clone, PartialEq)]
pub struct SignalIdx(pub usize); pub struct SignalIdx(pub(super) usize);
#[derive(Debug)] #[derive(Debug)]
pub(super) struct Scope { pub(super) struct Scope {