bmatcher_proc

Macro pattern

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

Parse a binary pattern and generate an instance of [BorrowedBinaryPattern] at compile time.

§Example

static MY_PATTERN: &dyn BinaryPattern = &pattern!("01 02 ? 03 [4]");