Trait objc2_ui_kit::UITextSelectionHandleView

source ·
pub unsafe trait UITextSelectionHandleView: UICoordinateSpace + IsMainThreadOnly {
    // Provided methods
    unsafe fn direction(&self) -> NSDirectionalRectEdge
       where Self: Sized + Message { ... }
    unsafe fn setDirection(&self, direction: NSDirectionalRectEdge)
       where Self: Sized + Message { ... }
    unsafe fn isVertical(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn customShape(&self) -> Option<Retained<UIBezierPath>>
       where Self: Sized + Message { ... }
    unsafe fn setCustomShape(&self, custom_shape: Option<&UIBezierPath>)
       where Self: Sized + Message { ... }
    unsafe fn preferredFrameForRect(&self, rect: CGRect) -> CGRect
       where Self: Sized + Message { ... }
}
Available on crate features UITextSelectionHandleView and UIView only.

Provided Methods§

source

unsafe fn direction(&self) -> NSDirectionalRectEdge
where Self: Sized + Message,

Available on crate feature UIGeometry only.
source

unsafe fn setDirection(&self, direction: NSDirectionalRectEdge)
where Self: Sized + Message,

Available on crate feature UIGeometry only.
source

unsafe fn isVertical(&self) -> bool
where Self: Sized + Message,

source

unsafe fn customShape(&self) -> Option<Retained<UIBezierPath>>
where Self: Sized + Message,

Available on crate feature UIBezierPath only.
source

unsafe fn setCustomShape(&self, custom_shape: Option<&UIBezierPath>)
where Self: Sized + Message,

Available on crate feature UIBezierPath only.
source

unsafe fn preferredFrameForRect(&self, rect: CGRect) -> CGRect
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn UITextSelectionHandleView

source§

const NAME: &'static str = "UITextSelectionHandleView"

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 UITextSelectionHandleView

Implementations on Foreign Types§

source§

impl<T> UITextSelectionHandleView for ProtocolObject<T>

Implementors§