pub struct LazyCompiled<F> { /* private fields */ }Expand description
Wrapper for lazy compilation.
Traces and compiles on first call, caches for subsequent calls.
Implementations§
Source§impl<F> LazyCompiled<F>
impl<F> LazyCompiled<F>
Sourcepub fn with_config(func: F, config: CompileConfig) -> Self
pub fn with_config(func: F, config: CompileConfig) -> Self
Creates with custom config.
Auto Trait Implementations§
impl<F> !Freeze for LazyCompiled<F>
impl<F> RefUnwindSafe for LazyCompiled<F>where
F: RefUnwindSafe,
impl<F> Send for LazyCompiled<F>where
F: Send,
impl<F> Sync for LazyCompiled<F>where
F: Sync,
impl<F> Unpin for LazyCompiled<F>where
F: Unpin,
impl<F> UnwindSafe for LazyCompiled<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