Skip to main content

UIScrollViewAccessibilityDelegate

Trait UIScrollViewAccessibilityDelegate 

Source
pub unsafe trait UIScrollViewAccessibilityDelegate: UIScrollViewDelegate + MainThreadOnly {
    // Provided methods
    fn accessibilityScrollStatusForScrollView(
        &self,
        scroll_view: &UIScrollView,
    ) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    fn accessibilityAttributedScrollStatusForScrollView(
        &self,
        scroll_view: &UIScrollView,
    ) -> Option<Retained<NSAttributedString>>
       where Self: Sized + Message { ... }
}
Available on crate features UIAccessibilityAdditions and UIScrollView only.
Expand description

Provided Methods§

Source

fn accessibilityScrollStatusForScrollView( &self, scroll_view: &UIScrollView, ) -> Option<Retained<NSString>>
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.
Source

fn accessibilityAttributedScrollStatusForScrollView( &self, scroll_view: &UIScrollView, ) -> Option<Retained<NSAttributedString>>
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UIScrollViewAccessibilityDelegate

Source§

impl ProtocolType for dyn UIScrollViewAccessibilityDelegate

Source§

const NAME: &'static str = "UIScrollViewAccessibilityDelegate"

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

Implementors§