Struct rquickjs::Constructor[][src]

#[repr(transparent)]pub struct Constructor<C, F>(_, _);
This is supported on crate feature classes only.

The wrapper for constructor function

Trait Implementations

impl<'js, C, F, A, R> AsFunction<'js, A, R> for Constructor<C, F> where
    C: ClassDef + ParallelSend + 'static,
    F: AsFunction<'js, A, R> + ParallelSend + 'static, 
[src]

impl<C, F> AsRef<F> for Constructor<C, F>[src]

impl<C, F> Deref for Constructor<C, F>[src]

type Target = F

The resulting type after dereferencing.

Auto Trait Implementations

impl<C, F> RefUnwindSafe for Constructor<C, F> where
    C: RefUnwindSafe,
    F: RefUnwindSafe
[src]

impl<C, F> Send for Constructor<C, F> where
    C: Send,
    F: Send
[src]

impl<C, F> Sync for Constructor<C, F> where
    C: Sync,
    F: Sync
[src]

impl<C, F> Unpin for Constructor<C, F> where
    C: Unpin,
    F: Unpin
[src]

impl<C, F> UnwindSafe for Constructor<C, F> where
    C: UnwindSafe,
    F: UnwindSafe
[src]

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> ParallelSend for T where
    T: Send
[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.