pub struct EngineCapabilities {
pub languages: Vec<String>,
pub layout_detection: bool,
pub confidence_scores: bool,
pub word_level: bool,
pub speed: ProcessingSpeed,
pub accuracy: AccuracyLevel,
}Expand description
Engine capabilities
Fields§
§languages: Vec<String>Supported languages
layout_detection: boolSupports layout detection
confidence_scores: boolSupports confidence scores
word_level: boolSupports word-level results
speed: ProcessingSpeedProcessing speed (relative)
accuracy: AccuracyLevelAccuracy (relative)
Trait Implementations§
Source§impl Clone for EngineCapabilities
impl Clone for EngineCapabilities
Source§fn clone(&self) -> EngineCapabilities
fn clone(&self) -> EngineCapabilities
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EngineCapabilities
impl RefUnwindSafe for EngineCapabilities
impl Send for EngineCapabilities
impl Sync for EngineCapabilities
impl Unpin for EngineCapabilities
impl UnwindSafe for EngineCapabilities
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