#[non_exhaustive]pub enum EngineKind {
Rxing,
Rqrr,
Rescue,
}Expand description
Which decode engine produced a detection.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Rxing
ZXing-family engine (rxing).
Rqrr
quirc-family engine (rqrr).
Rescue
The S5 erasure-rescue stage — errors-and-erasures RS over a grid the engines detected but could not decode (Forney 1965; the logo-occlusion recovery path).
Trait Implementations§
Source§impl Clone for EngineKind
impl Clone for EngineKind
impl Copy for EngineKind
Source§impl Debug for EngineKind
impl Debug for EngineKind
Source§impl<'de> Deserialize<'de> for EngineKind
impl<'de> Deserialize<'de> for EngineKind
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
impl Eq for EngineKind
Source§impl PartialEq for EngineKind
impl PartialEq for EngineKind
Source§impl Serialize for EngineKind
impl Serialize for EngineKind
impl StructuralPartialEq for EngineKind
Auto Trait Implementations§
impl Forget for EngineKind
impl Freeze for EngineKind
impl Move for EngineKind
impl RefUnwindSafe for EngineKind
impl Send for EngineKind
impl Sync for EngineKind
impl Unpin for EngineKind
impl UnsafeUnpin for EngineKind
impl UnwindSafe for EngineKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more