Skip to main content

UITextDropRequest

Trait UITextDropRequest 

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

Provided Methods§

Source

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

Available on crate feature UITextInput only.
Source

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

Available on crate features UIDropInteraction and UITextDropProposal only.
Source

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

Source

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

Available on crate feature UIDragSession only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UITextDropRequest

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> UITextDropRequest for ProtocolObject<T>

Implementors§