Macro qr_code
Source macro_rules! qr_code {
($data:expr) => { ... };
}
Expand description
Re-exported main qrc
module from qrc for QR code generation.
Macro to create a new QR code from the given data.
§Parameters
$data
- The data to be encoded in the QR code.
§Example
use qrc::{QRCode, qr_code};
qr_code!("Hello, world!".into());