pub unsafe trait UITextSelectionHighlightView: UICoordinateSpace + IsMainThreadOnly {
// Provided methods
unsafe fn selectionRects(&self) -> Retained<NSArray<UITextSelectionRect>>
where Self: Sized + Message { ... }
unsafe fn setSelectionRects(
&self,
selection_rects: &NSArray<UITextSelectionRect>
)
where Self: Sized + Message { ... }
}
Available on crate features
UITextSelectionHighlightView
and UIView
only.Provided Methods§
unsafe fn selectionRects(&self) -> Retained<NSArray<UITextSelectionRect>>
Available on crate feature
UITextInput
only.unsafe fn setSelectionRects( &self, selection_rects: &NSArray<UITextSelectionRect> )
Available on crate feature
UITextInput
only.