Struct zxing_cpp::ReaderOptions
source · pub struct ReaderOptions(/* private fields */);
Implementations§
source§impl ReaderOptions
impl ReaderOptions
pub fn new() -> Self
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
Trait Implementations§
source§impl AsRef<ReaderOptions> for ReaderOptions
impl AsRef<ReaderOptions> for ReaderOptions
source§fn as_ref(&self) -> &ReaderOptions
fn as_ref(&self) -> &ReaderOptions
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Default for ReaderOptions
impl Default for ReaderOptions
Auto Trait Implementations§
impl RefUnwindSafe for ReaderOptions
impl !Send for ReaderOptions
impl !Sync for ReaderOptions
impl Unpin for ReaderOptions
impl UnwindSafe for ReaderOptions
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