Skip to main content

BEScrollViewDelegate

Trait BEScrollViewDelegate 

Source
pub unsafe trait BEScrollViewDelegate: UIScrollViewDelegate + MainThreadOnly {
    // Provided methods
    unsafe fn scrollView_handleScrollUpdate_completion(
        &self,
        scroll_view: &BEScrollView,
        scroll_update: &BEScrollViewScrollUpdate,
        completion: &DynBlock<dyn Fn(Bool)>,
    )
       where Self: Sized + Message { ... }
    unsafe fn parentScrollViewForScrollView(
        &self,
        scroll_view: &BEScrollView,
    ) -> Option<Retained<BEScrollView>>
       where Self: Sized + Message { ... }
}
Available on crate feature BEScrollView only.
Expand description

Provided Methods§

Source

unsafe fn scrollView_handleScrollUpdate_completion( &self, scroll_view: &BEScrollView, scroll_update: &BEScrollViewScrollUpdate, completion: &DynBlock<dyn Fn(Bool)>, )
where Self: Sized + Message,

Available on crate feature block2 only.
Source

unsafe fn parentScrollViewForScrollView( &self, scroll_view: &BEScrollView, ) -> Option<Retained<BEScrollView>>
where Self: Sized + Message,

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn BEScrollViewDelegate

Source§

impl ProtocolType for dyn BEScrollViewDelegate

Source§

const NAME: &'static str = "BEScrollViewDelegate"

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

Implementors§