pub struct BarcodeReader(/* private fields */);
Implementations§
Source§impl BarcodeReader
impl BarcodeReader
Source§impl BarcodeReader
impl BarcodeReader
pub fn try_harder(self, v: impl Into<bool>) -> Self
pub fn set_try_harder(&mut self, v: impl Into<bool>) -> &mut Self
pub fn get_try_harder(&self) -> bool
pub fn try_rotate(self, v: impl Into<bool>) -> Self
pub fn set_try_rotate(&mut self, v: impl Into<bool>) -> &mut Self
pub fn get_try_rotate(&self) -> bool
pub fn try_invert(self, v: impl Into<bool>) -> Self
pub fn set_try_invert(&mut self, v: impl Into<bool>) -> &mut Self
pub fn get_try_invert(&self) -> bool
pub fn try_downscale(self, v: impl Into<bool>) -> Self
pub fn set_try_downscale(&mut self, v: impl Into<bool>) -> &mut Self
pub fn get_try_downscale(&self) -> bool
pub fn is_pure(self, v: impl Into<bool>) -> Self
pub fn set_is_pure(&mut self, v: impl Into<bool>) -> &mut Self
pub fn get_is_pure(&self) -> bool
pub fn return_errors(self, v: impl Into<bool>) -> Self
pub fn set_return_errors(&mut self, v: impl Into<bool>) -> &mut Self
pub fn get_return_errors(&self) -> bool
pub fn formats(self, v: impl Into<BarcodeFormats>) -> Self
pub fn set_formats(&mut self, v: impl Into<BarcodeFormats>) -> &mut Self
pub fn get_formats(&self) -> BarcodeFormats
pub fn text_mode(self, v: impl Into<TextMode>) -> Self
pub fn set_text_mode(&mut self, v: impl Into<TextMode>) -> &mut Self
pub fn get_text_mode(&self) -> TextMode
pub fn binarizer(self, v: impl Into<Binarizer>) -> Self
pub fn set_binarizer(&mut self, v: impl Into<Binarizer>) -> &mut Self
pub fn get_binarizer(&self) -> Binarizer
pub fn ean_add_on_symbol(self, v: impl Into<EanAddOnSymbol>) -> Self
pub fn set_ean_add_on_symbol( &mut self, v: impl Into<EanAddOnSymbol>, ) -> &mut Self
pub fn get_ean_add_on_symbol(&self) -> EanAddOnSymbol
pub fn max_number_of_symbols(self, v: impl Into<i32>) -> Self
pub fn set_max_number_of_symbols(&mut self, v: impl Into<i32>) -> &mut Self
pub fn get_max_number_of_symbols(&self) -> i32
pub fn min_line_count(self, v: impl Into<i32>) -> Self
pub fn set_min_line_count(&mut self, v: impl Into<i32>) -> &mut Self
pub fn get_min_line_count(&self) -> i32
pub fn from<'a, IV>(&self, image: IV) -> Result<Vec<Barcode>, Error>
Trait Implementations§
Source§impl Default for BarcodeReader
impl Default for BarcodeReader
Auto Trait Implementations§
impl Freeze for BarcodeReader
impl RefUnwindSafe for BarcodeReader
impl !Send for BarcodeReader
impl !Sync for BarcodeReader
impl Unpin for BarcodeReader
impl UnwindSafe for BarcodeReader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more