Available on crate feature
qr_code
only.Expand description
QR codes display information in a type of two-dimensional matrix barcode.
§Example
use iced::widget::qr_code;
struct State {
data: qr_code::Data,
}
#[derive(Debug, Clone)]
enum Message {
// ...
}
fn view(state: &State) -> Element<'_, Message> {
qr_code(&state.data).into()
}
Structs§
- The data of a
QRCode
. - A type of matrix barcode consisting of squares arranged in a grid which can be read by an imaging device, such as a camera.
- The appearance of a QR code.
Enums§
- The error correction level.
- The size of a
QRCode
.
Traits§
- The theme catalog of a
QRCode
.
Functions§
- The default style of a
QRCode
.
Type Aliases§
- A styling function for a
QRCode
.