pub struct LazyJsFunction<F> { /* private fields */ }Expand description
A type that dynamically resolves to a JSFunction from the registry on first use.
Trait Implementations§
Source§impl<F> Deref for LazyJsFunction<F>
impl<F> Deref for LazyJsFunction<F>
Source§type Target = JSFunction<F>
type Target = JSFunction<F>
The resulting type after dereferencing.
Auto Trait Implementations§
impl<F> !Freeze for LazyJsFunction<F>
impl<F> RefUnwindSafe for LazyJsFunction<F>where
F: RefUnwindSafe + UnwindSafe,
impl<F> Send for LazyJsFunction<F>where
F: Send,
impl<F> Sync for LazyJsFunction<F>
impl<F> Unpin for LazyJsFunction<F>where
F: Unpin,
impl<F> UnwindSafe for LazyJsFunction<F>where
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