Function qrcode_generator::to_matrix_from_str
source · pub fn to_matrix_from_str<S: AsRef<str>>(
text: S,
ecc: QrCodeEcc
) -> Result<Vec<Vec<bool>>, QRCodeError>
Expand description
Encode text to a QR code matrix.
pub fn to_matrix_from_str<S: AsRef<str>>(
text: S,
ecc: QrCodeEcc
) -> Result<Vec<Vec<bool>>, QRCodeError>
Encode text to a QR code matrix.