UIAccessibilityReadingContent

Trait UIAccessibilityReadingContent 

Source
pub unsafe trait UIAccessibilityReadingContent: MainThreadOnly {
    // Provided methods
    unsafe fn accessibilityLineNumberForPoint(
        &self,
        point: CGPoint,
    ) -> NSInteger
       where Self: Sized + Message { ... }
    unsafe fn accessibilityContentForLineNumber(
        &self,
        line_number: NSInteger,
    ) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn accessibilityFrameForLineNumber(
        &self,
        line_number: NSInteger,
    ) -> CGRect
       where Self: Sized + Message { ... }
    unsafe fn accessibilityPageContent(&self) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn accessibilityAttributedContentForLineNumber(
        &self,
        line_number: NSInteger,
    ) -> Option<Retained<NSAttributedString>>
       where Self: Sized + Message { ... }
    unsafe fn accessibilityAttributedPageContent(
        &self,
    ) -> Option<Retained<NSAttributedString>>
       where Self: Sized + Message { ... }
}
Available on crate feature UIAccessibility only.
Expand description

Provided Methods§

Source

unsafe fn accessibilityLineNumberForPoint(&self, point: CGPoint) -> NSInteger
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

unsafe fn accessibilityContentForLineNumber( &self, line_number: NSInteger, ) -> Option<Retained<NSString>>
where Self: Sized + Message,

Source

unsafe fn accessibilityFrameForLineNumber( &self, line_number: NSInteger, ) -> CGRect
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

unsafe fn accessibilityPageContent(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

Source

unsafe fn accessibilityAttributedContentForLineNumber( &self, line_number: NSInteger, ) -> Option<Retained<NSAttributedString>>
where Self: Sized + Message,

Source

unsafe fn accessibilityAttributedPageContent( &self, ) -> Option<Retained<NSAttributedString>>
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn UIAccessibilityReadingContent

Source§

const NAME: &'static str = "UIAccessibilityReadingContent"

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 UIAccessibilityReadingContent

Implementations on Foreign Types§

Source§

impl<T> UIAccessibilityReadingContent for ProtocolObject<T>

Implementors§