pub struct RecognizedText {
pub text: String,
pub confidence: f32,
pub bounding_box: BoundingBox,
}Available on crate feature
recognize_text only.Expand description
One recognised text observation.
Fields§
§text: String§confidence: f32Confidence in 0.0..=1.0. 0 means Vision didn’t report one.
bounding_box: BoundingBoxTrait Implementations§
Source§impl Clone for RecognizedText
impl Clone for RecognizedText
Source§fn clone(&self) -> RecognizedText
fn clone(&self) -> RecognizedText
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 RecognizedText
impl Debug for RecognizedText
Source§impl PartialEq for RecognizedText
impl PartialEq for RecognizedText
Source§fn eq(&self, other: &RecognizedText) -> bool
fn eq(&self, other: &RecognizedText) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecognizedText
Auto Trait Implementations§
impl Freeze for RecognizedText
impl RefUnwindSafe for RecognizedText
impl Send for RecognizedText
impl Sync for RecognizedText
impl Unpin for RecognizedText
impl UnsafeUnpin for RecognizedText
impl UnwindSafe for RecognizedText
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