pub struct OcrResult {
pub blocks: Vec<OcrBlock>,
pub note: Option<String>,
}Expand description
Result of one OCR pass on a captured window.
Fields§
§blocks: Vec<OcrBlock>Empty list = success with no detected text.
note: Option<String>Warning to surface on the JSON response (e.g. language fallback).
Trait Implementations§
impl StructuralPartialEq for OcrResult
Auto Trait Implementations§
impl Freeze for OcrResult
impl RefUnwindSafe for OcrResult
impl Send for OcrResult
impl Sync for OcrResult
impl Unpin for OcrResult
impl UnsafeUnpin for OcrResult
impl UnwindSafe for OcrResult
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