[−][src]Struct rustc_resolve::ResolverArenas
Nothing really interesting here; it just provides memory for the rest of the crate.
Fields
modules: TypedArena<ModuleData<'a>>local_modules: RefCell<Vec<&'a ModuleData<'a>>>name_bindings: TypedArena<NameBinding<'a>>imports: TypedArena<Import<'a>>name_resolutions: TypedArena<RefCell<NameResolution<'a>>>macro_rules_bindings: TypedArena<MacroRulesBinding<'a>>ast_paths: TypedArena<Path>Implementations
impl<'a> ResolverArenas<'a>[src]
fn alloc_module(&'a self, module: ModuleData<'a>) -> &'a ModuleData<'a>[src]
fn local_modules(&'a self) -> Ref<'a, Vec<&'a ModuleData<'a>>>[src]
fn alloc_name_binding(
&'a self,
name_binding: NameBinding<'a>
) -> &'a NameBinding<'a>[src]
&'a self,
name_binding: NameBinding<'a>
) -> &'a NameBinding<'a>
fn alloc_import(&'a self, import: Import<'a>) -> &'a Import<'_>[src]
fn alloc_name_resolution(&'a self) -> &'a RefCell<NameResolution<'a>>[src]
fn alloc_macro_rules_binding(
&'a self,
binding: MacroRulesBinding<'a>
) -> &'a MacroRulesBinding<'a>[src]
&'a self,
binding: MacroRulesBinding<'a>
) -> &'a MacroRulesBinding<'a>
fn alloc_ast_paths(&'a self, paths: &[Path]) -> &'a [Path][src]
Trait Implementations
impl<'a> Default for ResolverArenas<'a>[src]
fn default() -> ResolverArenas<'a>[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ResolverArenas<'a>
impl<'a> !Send for ResolverArenas<'a>
impl<'a> !Sync for ResolverArenas<'a>
impl<'a> Unpin for ResolverArenas<'a>
impl<'a> !UnwindSafe for ResolverArenas<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,