pub struct FnEvalRegistry { /* private fields */ }Expand description
Registry of function-pointer callbacks for parallel evaluation of
SymbolKind::Function nodes.
Keys are crate::dag::symbol::FnId values. The registered function
receives a pointer to the variable array (same layout as JIT functions)
and returns an f64.
Pass a &FnEvalRegistry to evaluate_node_with_fns to enable
function-node evaluation in the parallel path.
Implementations§
Trait Implementations§
Source§impl Default for FnEvalRegistry
impl Default for FnEvalRegistry
Source§fn default() -> FnEvalRegistry
fn default() -> FnEvalRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FnEvalRegistry
impl RefUnwindSafe for FnEvalRegistry
impl Send for FnEvalRegistry
impl Sync for FnEvalRegistry
impl Unpin for FnEvalRegistry
impl UnsafeUnpin for FnEvalRegistry
impl UnwindSafe for FnEvalRegistry
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