Skip to main content

bbox

Macro bbox 

Source
bbox!() { /* proc-macro */ }
Expand description

Makes a Bbox that the compiler checks.

It takes only the instructions, in a form that noul! takes. The instructions describe one region of an image in the state. A Bbox needs the model jev-1.14.0 or a later version. For instructions from data, use Bbox::new.

ยงExamples

use system2::{Bbox, bbox};

const DIALOG: Bbox = bbox!("The error dialog.");

let button = "Retry";
let found = bbox!("The button with the text `{button}`.");