Trait objc2_ui_kit::UITextDropRequest

source ·
pub unsafe trait UITextDropRequest: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn dropPosition(&self) -> Retained<UITextPosition>
       where Self: Sized + Message { ... }
    unsafe fn suggestedProposal(&self) -> Retained<UITextDropProposal>
       where Self: Sized + Message { ... }
    unsafe fn isSameView(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn dropSession(&self) -> Retained<ProtocolObject<dyn UIDropSession>>
       where Self: Sized + Message { ... }
}
Available on crate feature UITextDropping only.

Provided Methods§

source

unsafe fn dropPosition(&self) -> Retained<UITextPosition>
where Self: Sized + Message,

Available on crate feature UITextInput only.
source

unsafe fn suggestedProposal(&self) -> Retained<UITextDropProposal>
where Self: Sized + Message,

Available on crate features UIDropInteraction and UITextDropProposal only.
source

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

source

unsafe fn dropSession(&self) -> Retained<ProtocolObject<dyn UIDropSession>>
where Self: Sized + Message,

Available on crate feature UIDragSession only.

Trait Implementations§

source§

impl ProtocolType for dyn UITextDropRequest

source§

const NAME: &'static str = "UITextDropRequest"

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 UITextDropRequest

Implementations on Foreign Types§

source§

impl<T> UITextDropRequest for ProtocolObject<T>

Implementors§