Trait AXCustomContentProvider

Source
pub unsafe trait AXCustomContentProvider: NSObjectProtocol {
    // Provided methods
    unsafe fn accessibilityCustomContent(
        &self,
    ) -> Retained<NSArray<AXCustomContent>>
       where Self: Sized + Message { ... }
    unsafe fn setAccessibilityCustomContent(
        &self,
        accessibility_custom_content: Option<&NSArray<AXCustomContent>>,
    )
       where Self: Sized + Message { ... }
    unsafe fn accessibilityCustomContentBlock(
        &self,
    ) -> AXCustomContentReturnBlock
       where Self: Sized + Message { ... }
    unsafe fn setAccessibilityCustomContentBlock(
        &self,
        accessibility_custom_content_block: AXCustomContentReturnBlock,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature AXCustomContent only.
Expand description

Provided Methods§

Source

unsafe fn accessibilityCustomContent( &self, ) -> Retained<NSArray<AXCustomContent>>
where Self: Sized + Message,

Source

unsafe fn setAccessibilityCustomContent( &self, accessibility_custom_content: Option<&NSArray<AXCustomContent>>, )
where Self: Sized + Message,

Source

unsafe fn accessibilityCustomContentBlock(&self) -> AXCustomContentReturnBlock
where Self: Sized + Message,

Available on crate feature block2 only.
Source

unsafe fn setAccessibilityCustomContentBlock( &self, accessibility_custom_content_block: AXCustomContentReturnBlock, )
where Self: Sized + Message,

Available on crate feature block2 only.

Trait Implementations§

Source§

impl ProtocolType for dyn AXCustomContentProvider

Source§

const NAME: &'static str = "AXCustomContentProvider"

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 AXCustomContentProvider

Implementations on Foreign Types§

Source§

impl<T> AXCustomContentProvider for ProtocolObject<T>

Implementors§