[][src]Struct rquickjs::Module

pub struct Module<'js> { /* fields omitted */ }

Javascript module with certain exports and imports

Methods

impl<'js> Module<'js>[src]

pub fn name(&self) -> Atom<'js>[src]

Returns the name of the module as a atom

pub fn export_list(&self) -> ExportList<'js>[src]

Returns a iterator over the items the module export.

Features

This function is only availble if the exports feature is enabled.

Trait Implementations

impl<'js> Clone for Module<'js>[src]

impl<'js> Debug for Module<'js>[src]

impl<'js> PartialEq<Module<'js>> for Module<'js>[src]

Auto Trait Implementations

impl<'js> !RefUnwindSafe for Module<'js>

impl<'js> !Send for Module<'js>

impl<'js> !Sync for Module<'js>

impl<'js> Unpin for Module<'js>

impl<'js> UnwindSafe for Module<'js>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.