pub struct ResolvedModuleFns {
pub prefix: String,
pub fn_defs: Vec<ResolvedFnDef>,
}Expand description
Resolved-form mirror of one dep module’s fn defs, with the
module’s prefix preserved so per-scope iteration is cheap and the
view can build an FnId-keyed lookup without losing scope.
Fields§
§prefix: StringModule prefix (e.g. "Models.User"). Same value as
ModuleInfo.prefix on the AST side.
fn_defs: Vec<ResolvedFnDef>Resolved fn defs in module source order — position-aligned
with ModuleInfo.fn_defs for the rare consumer that needs
to pair AST and resolved forms side-by-side.
Trait Implementations§
Source§impl Clone for ResolvedModuleFns
impl Clone for ResolvedModuleFns
Source§fn clone(&self) -> ResolvedModuleFns
fn clone(&self) -> ResolvedModuleFns
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedModuleFns
impl Debug for ResolvedModuleFns
Source§impl Default for ResolvedModuleFns
impl Default for ResolvedModuleFns
Source§fn default() -> ResolvedModuleFns
fn default() -> ResolvedModuleFns
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResolvedModuleFns
impl RefUnwindSafe for ResolvedModuleFns
impl Send for ResolvedModuleFns
impl Sync for ResolvedModuleFns
impl Unpin for ResolvedModuleFns
impl UnsafeUnpin for ResolvedModuleFns
impl UnwindSafe for ResolvedModuleFns
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more