pub struct ScanOutcome {
pub text: String,
pub detections: Vec<Detection>,
}Expand description
Scan outcome: the NFC-normalized text the offsets refer to, plus the surviving detections after overlap resolution (sorted by start).
Fields§
§text: String§detections: Vec<Detection>Trait Implementations§
Source§impl Clone for ScanOutcome
impl Clone for ScanOutcome
Source§fn clone(&self) -> ScanOutcome
fn clone(&self) -> ScanOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScanOutcome
impl Debug for ScanOutcome
Auto Trait Implementations§
impl Freeze for ScanOutcome
impl RefUnwindSafe for ScanOutcome
impl Send for ScanOutcome
impl Sync for ScanOutcome
impl Unpin for ScanOutcome
impl UnsafeUnpin for ScanOutcome
impl UnwindSafe for ScanOutcome
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