pub struct Importer<'a, S: SourceRead> { /* private fields */ }Implementations§
Source§impl<'a, S: SourceRead> Importer<'a, S>
impl<'a, S: SourceRead> Importer<'a, S>
pub fn new( config: &'a TraceConfig, reader: &'a S, fset: &'a mut FileSet, pkgs: &'a mut Map<String, PackageKey>, all_results: &'a mut Map<PackageKey, TypeInfo>, ast_objs: &'a mut AstObjects, tc_objs: &'a mut TCObjects, errors: &'a ErrorList, pos: Pos, ) -> Importer<'a, S>
pub fn import(&mut self, key: &'a ImportKey) -> Result<PackageKey, ()>
Auto Trait Implementations§
impl<'a, S> Freeze for Importer<'a, S>
impl<'a, S> !RefUnwindSafe for Importer<'a, S>
impl<'a, S> !Send for Importer<'a, S>
impl<'a, S> !Sync for Importer<'a, S>
impl<'a, S> Unpin for Importer<'a, S>
impl<'a, S> !UnwindSafe for Importer<'a, S>
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