pub struct LiveTextTrackingImageView { /* private fields */ }Implementations§
Source§impl LiveTextTrackingImageView
impl LiveTextTrackingImageView
pub fn new() -> Result<Self, VisionKitError>
pub fn frame(&self) -> Result<Rect, VisionKitError>
pub fn set_frame(&self, frame: Rect) -> Result<(), VisionKitError>
pub fn set_image_at_path<P: AsRef<Path>>( &self, path: P, ) -> Result<(), VisionKitError>
pub fn image_size(&self) -> Result<Option<Size>, VisionKitError>
Trait Implementations§
Source§impl Drop for LiveTextTrackingImageView
impl Drop for LiveTextTrackingImageView
Auto Trait Implementations§
impl Freeze for LiveTextTrackingImageView
impl RefUnwindSafe for LiveTextTrackingImageView
impl !Send for LiveTextTrackingImageView
impl !Sync for LiveTextTrackingImageView
impl Unpin for LiveTextTrackingImageView
impl UnsafeUnpin for LiveTextTrackingImageView
impl UnwindSafe for LiveTextTrackingImageView
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