pub struct LiveTextAttributedTextRun {
pub range: LiveTextTextRange,
pub attributes: Vec<LiveTextAttributedTextAttribute>,
}Expand description
Represents a VisionKit attributed-text run.
Fields§
§range: LiveTextTextRangeStores the VisionKit range value.
attributes: Vec<LiveTextAttributedTextAttribute>Stores the VisionKit attributes value.
Trait Implementations§
Source§impl Clone for LiveTextAttributedTextRun
impl Clone for LiveTextAttributedTextRun
Source§impl Debug for LiveTextAttributedTextRun
impl Debug for LiveTextAttributedTextRun
Source§impl<'de> Deserialize<'de> for LiveTextAttributedTextRun
impl<'de> Deserialize<'de> for LiveTextAttributedTextRun
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 LiveTextAttributedTextRun
impl StructuralPartialEq for LiveTextAttributedTextRun
Auto Trait Implementations§
impl Forget for LiveTextAttributedTextRun
impl Freeze for LiveTextAttributedTextRun
impl Move for LiveTextAttributedTextRun
impl RefUnwindSafe for LiveTextAttributedTextRun
impl Send for LiveTextAttributedTextRunwhere
RawVecInner: Send,
impl Sync for LiveTextAttributedTextRunwhere
RawVecInner: Sync,
impl Unpin for LiveTextAttributedTextRun
impl UnsafeUnpin for LiveTextAttributedTextRun
impl UnwindSafe for LiveTextAttributedTextRunwhere
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