pub struct ModuleInternalView {
pub scope: ModPath,
pub env: Env,
}Expand description
Per-module snapshot of the internal env (the impl’s view, where
implementation bindings shadow sig proxies). The CheckResult’s
top-level env is the external view across the project; this
per-module entry lets IDE queries on names inside a module reach
the impl bind metadata. Only populated when env.lsp_mode is set.
Fields§
§scope: ModPath§env: EnvTrait Implementations§
Source§impl Clone for ModuleInternalView
impl Clone for ModuleInternalView
Source§fn clone(&self) -> ModuleInternalView
fn clone(&self) -> ModuleInternalView
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 moreAuto Trait Implementations§
impl Freeze for ModuleInternalView
impl !RefUnwindSafe for ModuleInternalView
impl Send for ModuleInternalView
impl Sync for ModuleInternalView
impl Unpin for ModuleInternalView
impl UnsafeUnpin for ModuleInternalView
impl !UnwindSafe for ModuleInternalView
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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