pub struct Line {
pub quad: Quad,
pub text: String,
pub score: f32,
pub formula: bool,
}Expand description
识别出的一行字。
Fields§
§quad: Quad§text: String§score: f32识别置信度(CTC 各字的概率平均),0–1。
formula: bool行间公式:text 是 $$…$$。
Trait Implementations§
Auto Trait Implementations§
impl Forget for Line
impl Freeze for Line
impl RefUnwindSafe for Line
impl Send for Line
impl Sync for Line
impl Unpin for Line
impl UnsafeUnpin for Line
impl UnwindSafe for Line
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