pub struct Instances { /* private fields */ }Expand description
Map from canonical name to instantiated module.
Deduplicates the import graph within a single load_module and can act as a
host-level cache across calls. Since a name fixes the frame and imports,
cached instances remain valid unless dropped.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Instances
impl !Send for Instances
impl !Sync for Instances
impl !UnwindSafe for Instances
impl Freeze for Instances
impl Unpin for Instances
impl UnsafeUnpin for Instances
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