Struct moore_vhdl::scope::Scope [−][src]
pub struct Scope {
pub parent: Option<ScopeRef>,
pub defs: HashMap<ResolvableName, Vec<Spanned<Def>>>,
pub imported_defs: HashMap<ResolvableName, Vec<Spanned<Def>>>,
pub imported_scopes: HashSet<ScopeRef>,
}
Expand description
A scope.
Fields
parent: Option<ScopeRef>
The parent scope.
defs: HashMap<ResolvableName, Vec<Spanned<Def>>>
The definitions made in this scope.
imported_defs: HashMap<ResolvableName, Vec<Spanned<Def>>>
The definitions imported from other scopes.
imported_scopes: HashSet<ScopeRef>
The explicitly imported scopes.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Scope
impl UnwindSafe for Scope
Blanket Implementations
Mutably borrows from an owned value. Read more