Struct rquickjs_core::Constructor
source · [−]#[repr(transparent)]pub struct Constructor<C, F>(_, _);
Available on crate feature
classes
only.Expand description
The wrapper for constructor function
Trait Implementations
sourceimpl<'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,
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,
sourceimpl<C, F> AsRef<F> for Constructor<C, F>
impl<C, F> AsRef<F> for Constructor<C, F>
Auto Trait Implementations
impl<C, F> RefUnwindSafe for Constructor<C, F> where
C: RefUnwindSafe,
F: RefUnwindSafe,
impl<C, F> Send for Constructor<C, F> where
C: Send,
F: Send,
impl<C, F> Sync for Constructor<C, F> where
C: Sync,
F: Sync,
impl<C, F> Unpin for Constructor<C, F> where
C: Unpin,
F: Unpin,
impl<C, F> UnwindSafe for Constructor<C, F> where
C: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more