pub struct JsModule { /* private fields */ }
Expand description
A bytecode compiled module.
Implementations§
Source§impl JsModule
impl JsModule
pub fn try_from_value(value: OwnedJsValue) -> Result<Self, ValueError>
pub fn into_value(self) -> OwnedJsValue
Trait Implementations§
Source§impl TryFrom<OwnedJsValue> for JsModule
impl TryFrom<OwnedJsValue> for JsModule
Source§type Error = ValueError
type Error = ValueError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for JsModule
impl RefUnwindSafe for JsModule
impl !Send for JsModule
impl !Sync for JsModule
impl Unpin for JsModule
impl UnwindSafe for JsModule
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