pub struct HocrWord {
pub text: String,
pub left: u32,
pub top: u32,
pub width: u32,
pub height: u32,
pub confidence: f64,
}Expand description
Represents a word extracted from hOCR with position and confidence information
Fields§
§text: String§left: u32§top: u32§width: u32§height: u32§confidence: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HocrWord
impl RefUnwindSafe for HocrWord
impl Send for HocrWord
impl Sync for HocrWord
impl Unpin for HocrWord
impl UnwindSafe for HocrWord
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