pub struct NoOpEngine;Expand description
A no-op OCR engine that always returns empty results.
Useful for testing the pipeline without a real OCR backend.
Trait Implementations§
Source§impl Debug for NoOpEngine
impl Debug for NoOpEngine
Source§impl Default for NoOpEngine
impl Default for NoOpEngine
Source§fn default() -> NoOpEngine
fn default() -> NoOpEngine
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NoOpEngine
impl RefUnwindSafe for NoOpEngine
impl Send for NoOpEngine
impl Sync for NoOpEngine
impl Unpin for NoOpEngine
impl UnsafeUnpin for NoOpEngine
impl UnwindSafe for NoOpEngine
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> 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