pub enum ScanIntent {
Document,
TextAndGraphic,
Photo,
Preview,
Object,
BusinessCard,
Custom(String),
}Variants§
Document
Scanning optimized for text.
TextAndGraphic
A composite document with mixed text/graphic/photo content.
Photo
Scanning optimized for photo
Preview
Scanning optimized for performance (fast output)
Object
Scanning optimized for 3 dimensional objects - objects with depth
BusinessCard
Scanning optimized for a business card
Custom(String)
Trait Implementations§
Source§impl Clone for ScanIntent
impl Clone for ScanIntent
Source§fn clone(&self) -> ScanIntent
fn clone(&self) -> ScanIntent
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScanIntent
impl Debug for ScanIntent
Source§impl<'de> Deserialize<'de> for ScanIntent
impl<'de> Deserialize<'de> for ScanIntent
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ScanIntent
impl PartialEq for ScanIntent
Source§impl Serialize for ScanIntent
impl Serialize for ScanIntent
impl Eq for ScanIntent
impl StructuralPartialEq for ScanIntent
Auto Trait Implementations§
impl Freeze for ScanIntent
impl RefUnwindSafe for ScanIntent
impl Send for ScanIntent
impl Sync for ScanIntent
impl Unpin for ScanIntent
impl UnwindSafe for ScanIntent
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.