pub struct LiveTextInteractionDelegate { /* private fields */ }Implementations§
Source§impl LiveTextInteractionDelegate
impl LiveTextInteractionDelegate
pub fn new() -> Result<Self, VisionKitError>
pub fn should_begin(&self) -> Result<bool, VisionKitError>
pub fn set_should_begin(&self, value: bool) -> Result<(), VisionKitError>
pub fn contents_rect_override(&self) -> Result<Option<Rect>, VisionKitError>
pub fn set_contents_rect_override( &self, value: Option<Rect>, ) -> Result<(), VisionKitError>
pub fn content_view( &self, ) -> Result<Option<LiveTextContentView>, VisionKitError>
pub fn set_content_view( &self, value: Option<&LiveTextContentView>, ) -> Result<(), VisionKitError>
pub fn should_handle_key_down_event(&self) -> Result<bool, VisionKitError>
pub fn set_should_handle_key_down_event( &self, value: bool, ) -> Result<(), VisionKitError>
pub fn recorded_events( &self, ) -> Result<Vec<LiveTextDelegateEvent>, VisionKitError>
pub fn clear_recorded_events(&self) -> Result<(), VisionKitError>
Trait Implementations§
Source§impl Drop for LiveTextInteractionDelegate
impl Drop for LiveTextInteractionDelegate
Auto Trait Implementations§
impl Freeze for LiveTextInteractionDelegate
impl RefUnwindSafe for LiveTextInteractionDelegate
impl !Send for LiveTextInteractionDelegate
impl !Sync for LiveTextInteractionDelegate
impl Unpin for LiveTextInteractionDelegate
impl UnsafeUnpin for LiveTextInteractionDelegate
impl UnwindSafe for LiveTextInteractionDelegate
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