NSObjectUIAccessibilityTextOperations

Trait NSObjectUIAccessibilityTextOperations 

Source
pub unsafe trait NSObjectUIAccessibilityTextOperations:
    ClassType
    + Sized
    + Sealed {
    // Provided methods
    fn accessibilityTextInputResponder(
        &self,
        mtm: MainThreadMarker,
    ) -> Option<Retained<ProtocolObject<dyn UITextInput>>> { ... }
    fn setAccessibilityTextInputResponder(
        &self,
        accessibility_text_input_responder: Option<&ProtocolObject<dyn UITextInput>>,
        mtm: MainThreadMarker,
    ) { ... }
    fn accessibilityTextInputResponderBlock(
        &self,
        mtm: MainThreadMarker,
    ) -> AXUITextInputReturnBlock { ... }
    unsafe fn setAccessibilityTextInputResponderBlock(
        &self,
        accessibility_text_input_responder_block: AXUITextInputReturnBlock,
        mtm: MainThreadMarker,
    ) { ... }
}
Available on crate feature UIAccessibility only.
Expand description

Category “UIAccessibilityTextOperations” on NSObject.

Provided Methods§

Source

fn accessibilityTextInputResponder( &self, mtm: MainThreadMarker, ) -> Option<Retained<ProtocolObject<dyn UITextInput>>>

Available on crate features UITextInput and UITextInputTraits only.
Source

fn setAccessibilityTextInputResponder( &self, accessibility_text_input_responder: Option<&ProtocolObject<dyn UITextInput>>, mtm: MainThreadMarker, )

Available on crate features UITextInput and UITextInputTraits only.
Source

fn accessibilityTextInputResponderBlock( &self, mtm: MainThreadMarker, ) -> AXUITextInputReturnBlock

Available on crate features UITextInput and UITextInputTraits and block2 only.
Source

unsafe fn setAccessibilityTextInputResponderBlock( &self, accessibility_text_input_responder_block: AXUITextInputReturnBlock, mtm: MainThreadMarker, )

Available on crate features UITextInput and UITextInputTraits and block2 only.

Setter for accessibilityTextInputResponderBlock.

This is copied when set.

§Safety

accessibility_text_input_responder_block must be a valid pointer or null.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl NSObjectUIAccessibilityTextOperations for NSObject

Implementors§