[−][src]Struct zbar_rust::ZBarImageScanner
Implementations
impl ZBarImageScanner
[src]
pub fn new() -> ZBarImageScanner
[src]
pub fn set_config(
&mut self,
symbology: ZBarSymbolType,
config: ZBarConfig,
value: isize
) -> Result<(), &'static str>
[src]
&mut self,
symbology: ZBarSymbolType,
config: ZBarConfig,
value: isize
) -> Result<(), &'static str>
pub fn destroy(self)
[src]
pub fn scan_y800<D: AsRef<[u8]>>(
&mut self,
data: D,
width: u32,
height: u32
) -> Result<Vec<ZBarImageScanResult>, &'static str>
[src]
&mut self,
data: D,
width: u32,
height: u32
) -> Result<Vec<ZBarImageScanResult>, &'static str>
pub fn scan_gray<D: AsRef<[u8]>>(
&mut self,
data: D,
width: u32,
height: u32
) -> Result<Vec<ZBarImageScanResult>, &'static str>
[src]
&mut self,
data: D,
width: u32,
height: u32
) -> Result<Vec<ZBarImageScanResult>, &'static str>
pub fn scan<D: AsRef<[u8]>>(
&mut self,
data: D,
width: u32,
height: u32,
format: u32
) -> Result<Vec<ZBarImageScanResult>, &'static str>
[src]
&mut self,
data: D,
width: u32,
height: u32,
format: u32
) -> Result<Vec<ZBarImageScanResult>, &'static str>
Trait Implementations
impl Default for ZBarImageScanner
[src]
impl Drop for ZBarImageScanner
[src]
Auto Trait Implementations
impl RefUnwindSafe for ZBarImageScanner
impl !Send for ZBarImageScanner
impl !Sync for ZBarImageScanner
impl Unpin for ZBarImageScanner
impl UnwindSafe for ZBarImageScanner
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,