pub enum ScanArea {
All,
Center,
}Expand description
scan area for bar codes
Variants§
All
the entire area of view of the camera is used to detect barcodes
Center
the center area (default 20%) of the camera is used to detect barcodes
Auto Trait Implementations§
impl Freeze for ScanArea
impl RefUnwindSafe for ScanArea
impl Send for ScanArea
impl Sync for ScanArea
impl Unpin for ScanArea
impl UnwindSafe for ScanArea
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