pub struct LiveTextSubject { /* private fields */ }Expand description
Wraps a VisionKit image subject.
Implementations§
Source§impl LiveTextSubject
impl LiveTextSubject
Sourcepub fn bounds(&self) -> Result<Rect, VisionKitError>
pub fn bounds(&self) -> Result<Rect, VisionKitError>
Returns the VisionKit bounds value.
Sourcepub fn image(&self) -> Result<LiveTextImageData, VisionKitError>
pub fn image(&self) -> Result<LiveTextImageData, VisionKitError>
Returns the VisionKit image value.
Trait Implementations§
Source§impl Drop for LiveTextSubject
impl Drop for LiveTextSubject
Auto Trait Implementations§
impl Freeze for LiveTextSubject
impl RefUnwindSafe for LiveTextSubject
impl !Send for LiveTextSubject
impl !Sync for LiveTextSubject
impl Unpin for LiveTextSubject
impl UnsafeUnpin for LiveTextSubject
impl UnwindSafe for LiveTextSubject
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