Function qrcode::ec::max_allowed_errors [] [src]

pub fn max_allowed_errors(version: Version, ec_level: EcLevel) -> QrResult<usize>

Computes the maximum allowed number of erratic modules can be introduced to the QR code, before the data becomes truly corrupted.