plushie/widget/qr_code
QR code widget builder.
Types
pub type ErrorCorrection {
Low
Medium
Quartile
High
}
Constructors
-
Low -
Medium -
Quartile -
High
Values
pub fn background_color(qr: QrCode, c: color.Color) -> QrCode
Set the background color.
pub fn error_correction(
qr: QrCode,
ec: ErrorCorrection,
) -> QrCode
Set the error correction level.