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