pub struct LiveTextAttributedText {
pub text: String,
pub runs: Vec<LiveTextAttributedTextRun>,
}Expand description
Represents VisionKit selected attributed text.
Fields§
§text: StringStores the VisionKit text value.
runs: Vec<LiveTextAttributedTextRun>Stores the VisionKit runs value.
Trait Implementations§
Source§impl Clone for LiveTextAttributedText
impl Clone for LiveTextAttributedText
Source§impl Debug for LiveTextAttributedText
impl Debug for LiveTextAttributedText
Source§impl<'de> Deserialize<'de> for LiveTextAttributedText
impl<'de> Deserialize<'de> for LiveTextAttributedText
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 LiveTextAttributedText
Source§impl PartialEq for LiveTextAttributedText
impl PartialEq for LiveTextAttributedText
Source§impl Serialize for LiveTextAttributedText
impl Serialize for LiveTextAttributedText
impl StructuralPartialEq for LiveTextAttributedText
Auto Trait Implementations§
impl Forget for LiveTextAttributedText
impl Freeze for LiveTextAttributedTextwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<LiveTextAttributedTextRun>: Freeze,
impl Move for LiveTextAttributedText
impl RefUnwindSafe for LiveTextAttributedText
impl Send for LiveTextAttributedTextwhere
RawVecInner: Send,
impl Sync for LiveTextAttributedTextwhere
RawVecInner: Sync,
impl Unpin for LiveTextAttributedText
impl UnsafeUnpin for LiveTextAttributedTextwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<LiveTextAttributedTextRun>: UnsafeUnpin,
impl UnwindSafe for LiveTextAttributedTextwhere
RawVecInner: UnwindSafe,
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