brillig_vm::black_box

Function black_box_function_from_op

Source
fn black_box_function_from_op(op: &BlackBoxOp) -> BlackBoxFunc
Expand description

Maps a BlackBoxOp variant to its corresponding BlackBoxFunc. Used primarily for error reporting and resolution purposes.

ยงPanics

If called with a BlackBoxOp::ToRadix operation, which is not part of the BlackBoxFunc enum.