Trait UIPopoverPresentationControllerSourceItem

Source
pub unsafe trait UIPopoverPresentationControllerSourceItem: NSObjectProtocol {
    // Provided method
    unsafe fn frameInView(&self, reference_view: &UIView) -> CGRect
       where Self: Sized + Message { ... }
}
Available on crate feature UIPopoverPresentationControllerSourceItem only.
Expand description

Provided Methods§

Source

unsafe fn frameInView(&self, reference_view: &UIView) -> CGRect
where Self: Sized + Message,

Available on crate features UIResponder and UIView and objc2-core-foundation only.

Trait Implementations§

Source§

impl ProtocolType for dyn UIPopoverPresentationControllerSourceItem

Source§

const NAME: &'static str = "UIPopoverPresentationControllerSourceItem"

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 UIPopoverPresentationControllerSourceItem

Implementations on Foreign Types§

Source§

impl<T> UIPopoverPresentationControllerSourceItem for ProtocolObject<T>

Implementors§