Macro mini_functions::qr::batch_generate_qr
source · macro_rules! batch_generate_qr { ($data_list:expr) => { ... }; }
Expand description
Re-exported main qrc
module from qrc for QR code generation.
Generates multiple QR codes in one operation.
This macro is useful for batch processing, such as generating QR codes for a list of URLs or serial numbers.
Parameters
$data_list:expr
: A vector of data strings for which QR codes are to be generated.
Example
use qrc::QRCode; // Import QRCode type
use qrc::batch_generate_qr; // Import the macro
let qr_codes = batch_generate_qr!(vec!["https://example.com".to_string(), "https://example2.com".to_string()]);