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§
fn accessibilityTextInputResponder( &self, mtm: MainThreadMarker, ) -> Option<Retained<ProtocolObject<dyn UITextInput>>>
Available on crate features
UITextInput and UITextInputTraits only.Sourcefn setAccessibilityTextInputResponder(
&self,
accessibility_text_input_responder: Option<&ProtocolObject<dyn UITextInput>>,
mtm: MainThreadMarker,
)
Available on crate features UITextInput and UITextInputTraits only.
fn setAccessibilityTextInputResponder( &self, accessibility_text_input_responder: Option<&ProtocolObject<dyn UITextInput>>, mtm: MainThreadMarker, )
UITextInput and UITextInputTraits only.Setter for accessibilityTextInputResponder.
This is a weak property.
fn accessibilityTextInputResponderBlock( &self, mtm: MainThreadMarker, ) -> AXUITextInputReturnBlock
Available on crate features
UITextInput and UITextInputTraits and block2 only.Sourceunsafe fn setAccessibilityTextInputResponderBlock(
&self,
accessibility_text_input_responder_block: AXUITextInputReturnBlock,
mtm: MainThreadMarker,
)
Available on crate features UITextInput and UITextInputTraits and block2 only.
unsafe fn setAccessibilityTextInputResponderBlock( &self, accessibility_text_input_responder_block: AXUITextInputReturnBlock, mtm: MainThreadMarker, )
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.