pub enum Export {
LiftedFunction {
ty: TypeFuncIndex,
func: CoreDef,
options: CanonicalOptions,
},
ModuleStatic {
ty: ComponentCoreModuleTypeId,
index: StaticModuleIndex,
},
ModuleImport {
ty: TypeModuleIndex,
import: RuntimeImportIndex,
},
Instance {
ty: TypeComponentInstanceIndex,
exports: IndexMap<String, Export>,
},
Type(TypeDef),
}
Expand description
Same as info::Export
Variants§
Auto Trait Implementations§
impl Freeze for Export
impl RefUnwindSafe for Export
impl Send for Export
impl Sync for Export
impl Unpin for Export
impl UnwindSafe for Export
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