TVBrowserViewControllerDataSource

Trait TVBrowserViewControllerDataSource 

Source
pub unsafe trait TVBrowserViewControllerDataSource: NSObjectProtocol {
    // Provided method
    unsafe fn browserViewController_documentViewControllerForElement(
        &self,
        browser_view_controller: &TVBrowserViewController,
        view_element: &TVViewElement,
    ) -> Option<Retained<TVDocumentViewController>>
       where Self: Sized + Message { ... }
}
Available on crate feature TVBrowserViewController only.
Expand description

Provided Methods§

Source

unsafe fn browserViewController_documentViewControllerForElement( &self, browser_view_controller: &TVBrowserViewController, view_element: &TVViewElement, ) -> Option<Retained<TVDocumentViewController>>
where Self: Sized + Message,

Available on crate features TVDocumentViewController and TVViewElement and objc2-ui-kit only.

Trait Implementations§

Source§

impl ProtocolType for dyn TVBrowserViewControllerDataSource

Source§

const NAME: &'static str = "TVBrowserViewControllerDataSource"

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 TVBrowserViewControllerDataSource

Implementations on Foreign Types§

Source§

impl<T> TVBrowserViewControllerDataSource for ProtocolObject<T>

Implementors§