pub struct ModuleExport {
pub name: String,
pub kind: ExportKind,
pub signature: Option<String>,
}Expand description
A module export — a function or capability the module provides (T63).
Fields§
§name: StringThe exported name (e.g. “abs”, “max”, “sha256”).
kind: ExportKindThe export kind — function, capability, or type.
signature: Option<String>Optional type signature (for machine schema).
Trait Implementations§
Source§impl Clone for ModuleExport
impl Clone for ModuleExport
Source§impl Debug for ModuleExport
impl Debug for ModuleExport
Source§impl PartialEq for ModuleExport
impl PartialEq for ModuleExport
impl StructuralPartialEq for ModuleExport
Auto Trait Implementations§
impl Freeze for ModuleExport
impl RefUnwindSafe for ModuleExport
impl Send for ModuleExport
impl Sync for ModuleExport
impl Unpin for ModuleExport
impl UnsafeUnpin for ModuleExport
impl UnwindSafe for ModuleExport
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