pub struct ModuleExport<'a> {
pub name: &'a str,
pub ty: ExportType<'a>,
}Expand description
A module export descriptor.
Fields§
§name: &'a strExport name.
ty: ExportType<'a>Export type.
Auto Trait Implementations§
impl<'a> Freeze for ModuleExport<'a>
impl<'a> RefUnwindSafe for ModuleExport<'a>
impl<'a> Send for ModuleExport<'a>
impl<'a> Sync for ModuleExport<'a>
impl<'a> Unpin for ModuleExport<'a>
impl<'a> UnsafeUnpin for ModuleExport<'a>
impl<'a> UnwindSafe for ModuleExport<'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