Trait UITextDropRequest

Source
pub unsafe trait UITextDropRequest: NSObjectProtocol + MainThreadOnly {
    // 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.
Expand description

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. Read more
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§