pub unsafe trait UIAccessibilityReadingContent: MainThreadOnly {
// Provided methods
fn accessibilityLineNumberForPoint(&self, point: CGPoint) -> NSInteger
where Self: Sized + Message { ... }
fn accessibilityContentForLineNumber(
&self,
line_number: NSInteger,
) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
fn accessibilityFrameForLineNumber(&self, line_number: NSInteger) -> CGRect
where Self: Sized + Message { ... }
fn accessibilityPageContent(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
fn accessibilityAttributedContentForLineNumber(
&self,
line_number: NSInteger,
) -> Option<Retained<NSAttributedString>>
where Self: Sized + Message { ... }
fn accessibilityAttributedPageContent(
&self,
) -> Option<Retained<NSAttributedString>>
where Self: Sized + Message { ... }
}Available on crate feature
UIAccessibility only.Expand description
Provided Methods§
fn accessibilityLineNumberForPoint(&self, point: CGPoint) -> NSInteger
Available on crate feature
objc2-core-foundation only.fn accessibilityContentForLineNumber( &self, line_number: NSInteger, ) -> Option<Retained<NSString>>
fn accessibilityFrameForLineNumber(&self, line_number: NSInteger) -> CGRect
Available on crate feature
objc2-core-foundation only.fn accessibilityPageContent(&self) -> Option<Retained<NSString>>
fn accessibilityAttributedContentForLineNumber( &self, line_number: NSInteger, ) -> Option<Retained<NSAttributedString>>
fn accessibilityAttributedPageContent( &self, ) -> Option<Retained<NSAttributedString>>
Trait Implementations§
impl<T> ImplementedBy<T> for dyn UIAccessibilityReadingContent
Source§impl ProtocolType for dyn UIAccessibilityReadingContent
impl ProtocolType for dyn UIAccessibilityReadingContent
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".