pub struct LiveTextTextRange {
pub location: usize,
pub length: usize,
}Expand description
Represents a text range reported by VisionKit.
Fields§
§location: usizeStores the VisionKit location value.
length: usizeStores the VisionKit length value.
Implementations§
Trait Implementations§
Source§impl Clone for LiveTextTextRange
impl Clone for LiveTextTextRange
impl Copy for LiveTextTextRange
Source§impl Debug for LiveTextTextRange
impl Debug for LiveTextTextRange
Source§impl Default for LiveTextTextRange
impl Default for LiveTextTextRange
Source§impl<'de> Deserialize<'de> for LiveTextTextRange
impl<'de> Deserialize<'de> for LiveTextTextRange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LiveTextTextRange
Source§impl PartialEq for LiveTextTextRange
impl PartialEq for LiveTextTextRange
Source§impl Serialize for LiveTextTextRange
impl Serialize for LiveTextTextRange
impl StructuralPartialEq for LiveTextTextRange
Auto Trait Implementations§
impl Forget for LiveTextTextRange
impl Freeze for LiveTextTextRange
impl Move for LiveTextTextRange
impl RefUnwindSafe for LiveTextTextRange
impl Send for LiveTextTextRange
impl Sync for LiveTextTextRange
impl Unpin for LiveTextTextRange
impl UnsafeUnpin for LiveTextTextRange
impl UnwindSafe for LiveTextTextRange
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