Struct rquickjs_core::BuiltinResolver[][src]

pub struct BuiltinResolver { /* fields omitted */ }
This is supported on crate feature loader only.

The builtin module resolver

This resolver can also be used as the nested backing resolver in user-defined resolvers.

Implementations

impl BuiltinResolver[src]

pub fn add_module<P: Into<String>>(&mut self, path: P) -> &mut Self[src]

Add builtin module

pub fn with_module<P: Into<String>>(mut self: Self, path: P) -> Self[src]

Add builtin module

Trait Implementations

impl Debug for BuiltinResolver[src]

impl Default for BuiltinResolver[src]

impl Resolver for BuiltinResolver[src]

Auto Trait Implementations

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, 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.