mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
rename bitmatrix test cases mod
This commit is contained in:
@@ -109,7 +109,12 @@ impl Display for BarcodeFormat {
|
||||
}
|
||||
}
|
||||
|
||||
/// Defaults to QRCode if no proper formatting available
|
||||
impl From<String> for BarcodeFormat {
|
||||
fn from(value: String) -> Self {
|
||||
value.as_str().into()
|
||||
}
|
||||
}
|
||||
|
||||
impl From<&str> for BarcodeFormat {
|
||||
fn from(value: &str) -> Self {
|
||||
match value.to_lowercase().as_str() {
|
||||
|
||||
Reference in New Issue
Block a user