Struct rquickjs_core::class::Constructor
source · #[repr(transparent)]pub struct Constructor<C, F>(_, _);
Available on crate feature
classes
only.Expand description
The wrapper for constructor function
Trait Implementations§
source§impl<'js, C, F, A, R> AsFunction<'js, A, R> for Constructor<C, F>where
C: ClassDef + 'js,
F: AsFunction<'js, A, R> + 'js,
impl<'js, C, F, A, R> AsFunction<'js, A, R> for Constructor<C, F>where C: ClassDef + 'js, F: AsFunction<'js, A, R> + 'js,
source§impl<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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more