qrcode-decode 2.2.0

QR code decoding traits, grayscale views, Structured Append parsing, and optional rqrr adapter for qrcode-rs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Modified derivative of rxing 0.9.3; see engine/ORIGIN.md and source-provenance.json.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct StructuredAppendInfo {
    pub index: i32, // -1;
    pub count: i32, // = -1;
    pub id: String,
}

impl Default for StructuredAppendInfo {
    fn default() -> Self {
        Self { index: -1, count: -1, id: Default::default() }
    }
}