Function sway_core::semantic_analysis::read_module
source · [−]pub fn read_module<F, R>(func: F, ix: NamespaceRef) -> R where
F: FnMut(&Namespace) -> R, Expand description
Given a function func and a reference to a module ix, read from MODULES[ix] with func.