Skip to main content

UIPopoverPresentationControllerSourceItem

Trait UIPopoverPresentationControllerSourceItem 

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

Provided Methods§

Source

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

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

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UIPopoverPresentationControllerSourceItem

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

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> UIPopoverPresentationControllerSourceItem for ProtocolObject<T>

Implementors§