qrcode_generator
pub fn to_matrix_by_segments( segments: &[QrSegment], ecc: QrCodeEcc) -> Result<Vec<Vec<bool>>, Error>
Encode data to a QR code matrix.