Struct wasmedge_sys::ExportType
source · pub struct ExportType<'module> { /* private fields */ }
Expand description
Defines the types of the exported wasm values.
Implementations§
source§impl<'module> ExportType<'module>
impl<'module> ExportType<'module>
sourcepub fn ty(&self) -> WasmEdgeResult<ExternalInstanceType>
pub fn ty(&self) -> WasmEdgeResult<ExternalInstanceType>
Returns the type of this export.
sourcepub fn as_ptr(&self) -> *const WasmEdge_ExportTypeContext
Available on crate feature ffi
only.
pub fn as_ptr(&self) -> *const WasmEdge_ExportTypeContext
ffi
only.Provides a raw pointer to the inner ExportType context.
Trait Implementations§
source§impl<'module> Debug for ExportType<'module>
impl<'module> Debug for ExportType<'module>
Auto Trait Implementations§
impl<'module> RefUnwindSafe for ExportType<'module>
impl<'module> Send for ExportType<'module>
impl<'module> Sync for ExportType<'module>
impl<'module> Unpin for ExportType<'module>
impl<'module> UnwindSafe for ExportType<'module>
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