Function qrcode_generator::to_png_to_file_from_str [−][src]
pub fn to_png_to_file_from_str<S: AsRef<str>, P: AsRef<Path>>(
text: S,
ecc: QrCodeEcc,
size: usize,
path: P
) -> Result<(), QRCodeError>
Encode text to a PNG image via a file path.