rename multi barcode methods to snake case

This commit is contained in:
Henry Schimke
2022-12-31 13:15:30 -06:00
parent ede88360ad
commit 9ff68e6974
7 changed files with 24 additions and 24 deletions

View File

@@ -40,14 +40,14 @@ use super::MultipleBarcodeReader;
pub struct GenericMultipleBarcodeReader<T: Reader>(T);
impl<T: Reader> MultipleBarcodeReader for GenericMultipleBarcodeReader<T> {
fn decodeMultiple(
fn decode_multiple(
&mut self,
image: &crate::BinaryBitmap,
) -> Result<Vec<crate::RXingResult>, crate::Exceptions> {
self.decodeMultipleWithHints(image, &HashMap::new())
self.decode_multiple_with_hints(image, &HashMap::new())
}
fn decodeMultipleWithHints(
fn decode_multiple_with_hints(
&mut self,
image: &crate::BinaryBitmap,
hints: &crate::DecodingHintDictionary,