Function to_matrix

Source
pub fn to_matrix<D: AsRef<[u8]>>(
    data: D,
    ecc: QrCodeEcc,
) -> Result<Vec<Vec<bool>>, QRCodeError>
Expand description

Encode data to a QR code matrix.