pub struct JsModuleDef { /* private fields */ }
Implementations§
Source§impl JsModuleDef
impl JsModuleDef
pub fn add_export(&mut self, name: &'static str, val: JsValue)
Auto Trait Implementations§
impl Freeze for JsModuleDef
impl RefUnwindSafe for JsModuleDef
impl !Send for JsModuleDef
impl !Sync for JsModuleDef
impl Unpin for JsModuleDef
impl UnwindSafe for JsModuleDef
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