pub struct LiveTextContentView { /* private fields */ }Expand description
Wraps the VisionKit content view counterpart used with live text.
Implementations§
Source§impl LiveTextContentView
impl LiveTextContentView
Sourcepub fn new() -> Result<Self, VisionKitError>
pub fn new() -> Result<Self, VisionKitError>
Creates the VisionKit LiveTextContentView wrapper.
Sourcepub fn frame(&self) -> Result<Rect, VisionKitError>
pub fn frame(&self) -> Result<Rect, VisionKitError>
Returns the VisionKit frame value.
Trait Implementations§
Source§impl Drop for LiveTextContentView
impl Drop for LiveTextContentView
Auto Trait Implementations§
impl Freeze for LiveTextContentView
impl RefUnwindSafe for LiveTextContentView
impl !Send for LiveTextContentView
impl !Sync for LiveTextContentView
impl Unpin for LiveTextContentView
impl UnsafeUnpin for LiveTextContentView
impl UnwindSafe for LiveTextContentView
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