pub struct OcrOptions {
pub preference: BackendPreference,
pub onnx: Option<OnnxConfig>,
pub isolation: Isolation,
}Fields§
§preference: BackendPreference§onnx: Option<OnnxConfig>§isolation: IsolationImplementations§
Source§impl OcrOptions
impl OcrOptions
pub fn new(preference: BackendPreference) -> Self
pub fn with_onnx(self, onnx: OnnxConfig) -> Self
pub fn with_isolation(self, isolation: Isolation) -> Self
Trait Implementations§
Source§impl Clone for OcrOptions
impl Clone for OcrOptions
Source§impl Debug for OcrOptions
impl Debug for OcrOptions
Auto Trait Implementations§
impl !RefUnwindSafe for OcrOptions
impl !UnwindSafe for OcrOptions
impl Freeze for OcrOptions
impl Send for OcrOptions
impl Sync for OcrOptions
impl Unpin for OcrOptions
impl UnsafeUnpin for OcrOptions
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