Struct rquickjs_core::Constructor [−][src]
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]
C: ClassDef + ParallelSend + 'static,
F: AsFunction<'js, A, R> + ParallelSend + 'static,
fn num_args() -> Range<usize>[src]
fn call(&self, input: &Input<'js>) -> Result<Value<'js>>[src]
fn post<'js_>(ctx: Ctx<'js_>, func: &Function<'js_>) -> Result<()>[src]
impl<C, F> AsRef<F> for Constructor<C, F>[src]
impl<C, F> Deref for Constructor<C, F>[src]
Auto Trait Implementations
impl<C, F> RefUnwindSafe for Constructor<C, F> where
C: RefUnwindSafe,
F: RefUnwindSafe, [src]
C: RefUnwindSafe,
F: RefUnwindSafe,
impl<C, F> Send for Constructor<C, F> where
C: Send,
F: Send, [src]
C: Send,
F: Send,
impl<C, F> Sync for Constructor<C, F> where
C: Sync,
F: Sync, [src]
C: Sync,
F: Sync,
impl<C, F> Unpin for Constructor<C, F> where
C: Unpin,
F: Unpin, [src]
C: Unpin,
F: Unpin,
impl<C, F> UnwindSafe for Constructor<C, F> where
C: UnwindSafe,
F: UnwindSafe, [src]
C: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,