Trait objc2_ui_kit::UITextSelectionHighlightView

source ·
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§

source

unsafe fn selectionRects(&self) -> Retained<NSArray<UITextSelectionRect>>
where Self: Sized + Message,

Available on crate feature UITextInput only.
source

unsafe fn setSelectionRects( &self, selection_rects: &NSArray<UITextSelectionRect> )
where Self: Sized + Message,

Available on crate feature UITextInput only.

Trait Implementations§

source§

impl ProtocolType for dyn UITextSelectionHighlightView

source§

const NAME: &'static str = "UITextSelectionHighlightView"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn UITextSelectionHighlightView

Implementations on Foreign Types§

source§

impl<T> UITextSelectionHighlightView for ProtocolObject<T>

Implementors§