pub unsafe trait NSObjectUIAccessibilityTextOperations:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn accessibilityTextInputResponder(
&self,
mtm: MainThreadMarker,
) -> Option<Retained<ProtocolObject<dyn UITextInput>>> { ... }
unsafe fn setAccessibilityTextInputResponder(
&self,
accessibility_text_input_responder: Option<&ProtocolObject<dyn UITextInput>>,
mtm: MainThreadMarker,
) { ... }
unsafe 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§
unsafe fn accessibilityTextInputResponder( &self, mtm: MainThreadMarker, ) -> Option<Retained<ProtocolObject<dyn UITextInput>>>
Available on crate features
UITextInput
and UITextInputTraits
only.Sourceunsafe fn setAccessibilityTextInputResponder(
&self,
accessibility_text_input_responder: Option<&ProtocolObject<dyn UITextInput>>,
mtm: MainThreadMarker,
)
Available on crate features UITextInput
and UITextInputTraits
only.
unsafe fn setAccessibilityTextInputResponder( &self, accessibility_text_input_responder: Option<&ProtocolObject<dyn UITextInput>>, mtm: MainThreadMarker, )
UITextInput
and UITextInputTraits
only.This is a weak property.
Setter for accessibilityTextInputResponder
.
unsafe 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
.
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.