Function qrcode_generator::to_png_to_writer_from_str[][src]

pub fn to_png_to_writer_from_str<S: AsRef<str>, W: Write>(
    text: S,
    ecc: QrCodeEcc,
    size: usize,
    writer: &mut W
) -> Result<(), QRCodeError>

Encode text to a PNG image via a writer.