pub struct TextRect {
pub x: f64,
pub y: f64,
pub w: f64,
pub h: f64,
pub confidence: f32,
}Expand description
A detected text rectangle in normalised (0..1) image coordinates, origin bottom-left (Vision convention).
Fields§
§x: f64§y: f64§w: f64§h: f64§confidence: f32Trait Implementations§
impl Copy for TextRect
impl StructuralPartialEq for TextRect
Auto Trait Implementations§
impl Freeze for TextRect
impl RefUnwindSafe for TextRect
impl Send for TextRect
impl Sync for TextRect
impl Unpin for TextRect
impl UnsafeUnpin for TextRect
impl UnwindSafe for TextRect
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