pub struct ModuleImport<'a> {
pub module: &'a str,
pub name: &'a str,
pub ty: ImportType<'a>,
}Expand description
A module import descriptor.
Fields§
§module: &'a strImporting module name.
name: &'a strImport name.
ty: ImportType<'a>Import type.
Auto Trait Implementations§
impl<'a> Freeze for ModuleImport<'a>
impl<'a> RefUnwindSafe for ModuleImport<'a>
impl<'a> Send for ModuleImport<'a>
impl<'a> Sync for ModuleImport<'a>
impl<'a> Unpin for ModuleImport<'a>
impl<'a> UnsafeUnpin for ModuleImport<'a>
impl<'a> UnwindSafe for ModuleImport<'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