pub unsafe trait NSTextInputTraits {
Show 28 methods
// Provided methods
unsafe fn autocorrectionType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
unsafe fn setAutocorrectionType(
&self,
autocorrection_type: NSTextInputTraitType,
)
where Self: Sized + Message { ... }
unsafe fn spellCheckingType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
unsafe fn setSpellCheckingType(
&self,
spell_checking_type: NSTextInputTraitType,
)
where Self: Sized + Message { ... }
unsafe fn grammarCheckingType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
unsafe fn setGrammarCheckingType(
&self,
grammar_checking_type: NSTextInputTraitType,
)
where Self: Sized + Message { ... }
unsafe fn smartQuotesType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
unsafe fn setSmartQuotesType(&self, smart_quotes_type: NSTextInputTraitType)
where Self: Sized + Message { ... }
unsafe fn smartDashesType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
unsafe fn setSmartDashesType(&self, smart_dashes_type: NSTextInputTraitType)
where Self: Sized + Message { ... }
unsafe fn smartInsertDeleteType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
unsafe fn setSmartInsertDeleteType(
&self,
smart_insert_delete_type: NSTextInputTraitType,
)
where Self: Sized + Message { ... }
unsafe fn textReplacementType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
unsafe fn setTextReplacementType(
&self,
text_replacement_type: NSTextInputTraitType,
)
where Self: Sized + Message { ... }
unsafe fn dataDetectionType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
unsafe fn setDataDetectionType(
&self,
data_detection_type: NSTextInputTraitType,
)
where Self: Sized + Message { ... }
unsafe fn linkDetectionType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
unsafe fn setLinkDetectionType(
&self,
link_detection_type: NSTextInputTraitType,
)
where Self: Sized + Message { ... }
unsafe fn textCompletionType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
unsafe fn setTextCompletionType(
&self,
text_completion_type: NSTextInputTraitType,
)
where Self: Sized + Message { ... }
unsafe fn inlinePredictionType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
unsafe fn setInlinePredictionType(
&self,
inline_prediction_type: NSTextInputTraitType,
)
where Self: Sized + Message { ... }
unsafe fn mathExpressionCompletionType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
unsafe fn setMathExpressionCompletionType(
&self,
math_expression_completion_type: NSTextInputTraitType,
)
where Self: Sized + Message { ... }
unsafe fn writingToolsBehavior(&self) -> NSWritingToolsBehavior
where Self: Sized + Message { ... }
unsafe fn setWritingToolsBehavior(
&self,
writing_tools_behavior: NSWritingToolsBehavior,
)
where Self: Sized + Message { ... }
unsafe fn allowedWritingToolsResultOptions(
&self,
) -> NSWritingToolsResultOptions
where Self: Sized + Message { ... }
unsafe fn setAllowedWritingToolsResultOptions(
&self,
allowed_writing_tools_result_options: NSWritingToolsResultOptions,
)
where Self: Sized + Message { ... }
}
Available on crate feature
NSTextCheckingClient
only.Expand description
Provided Methods§
unsafe fn autocorrectionType(&self) -> NSTextInputTraitType
Sourceunsafe fn setAutocorrectionType(
&self,
autocorrection_type: NSTextInputTraitType,
)
unsafe fn setAutocorrectionType( &self, autocorrection_type: NSTextInputTraitType, )
Setter for autocorrectionType
.
unsafe fn spellCheckingType(&self) -> NSTextInputTraitType
Sourceunsafe fn setSpellCheckingType(&self, spell_checking_type: NSTextInputTraitType)
unsafe fn setSpellCheckingType(&self, spell_checking_type: NSTextInputTraitType)
Setter for spellCheckingType
.
unsafe fn grammarCheckingType(&self) -> NSTextInputTraitType
Sourceunsafe fn setGrammarCheckingType(
&self,
grammar_checking_type: NSTextInputTraitType,
)
unsafe fn setGrammarCheckingType( &self, grammar_checking_type: NSTextInputTraitType, )
Setter for grammarCheckingType
.
unsafe fn smartQuotesType(&self) -> NSTextInputTraitType
Sourceunsafe fn setSmartQuotesType(&self, smart_quotes_type: NSTextInputTraitType)
unsafe fn setSmartQuotesType(&self, smart_quotes_type: NSTextInputTraitType)
Setter for smartQuotesType
.
unsafe fn smartDashesType(&self) -> NSTextInputTraitType
Sourceunsafe fn setSmartDashesType(&self, smart_dashes_type: NSTextInputTraitType)
unsafe fn setSmartDashesType(&self, smart_dashes_type: NSTextInputTraitType)
Setter for smartDashesType
.
unsafe fn smartInsertDeleteType(&self) -> NSTextInputTraitType
Sourceunsafe fn setSmartInsertDeleteType(
&self,
smart_insert_delete_type: NSTextInputTraitType,
)
unsafe fn setSmartInsertDeleteType( &self, smart_insert_delete_type: NSTextInputTraitType, )
Setter for smartInsertDeleteType
.
unsafe fn textReplacementType(&self) -> NSTextInputTraitType
Sourceunsafe fn setTextReplacementType(
&self,
text_replacement_type: NSTextInputTraitType,
)
unsafe fn setTextReplacementType( &self, text_replacement_type: NSTextInputTraitType, )
Setter for textReplacementType
.
unsafe fn dataDetectionType(&self) -> NSTextInputTraitType
Sourceunsafe fn setDataDetectionType(&self, data_detection_type: NSTextInputTraitType)
unsafe fn setDataDetectionType(&self, data_detection_type: NSTextInputTraitType)
Setter for dataDetectionType
.
unsafe fn linkDetectionType(&self) -> NSTextInputTraitType
Sourceunsafe fn setLinkDetectionType(&self, link_detection_type: NSTextInputTraitType)
unsafe fn setLinkDetectionType(&self, link_detection_type: NSTextInputTraitType)
Setter for linkDetectionType
.
unsafe fn textCompletionType(&self) -> NSTextInputTraitType
Sourceunsafe fn setTextCompletionType(
&self,
text_completion_type: NSTextInputTraitType,
)
unsafe fn setTextCompletionType( &self, text_completion_type: NSTextInputTraitType, )
Setter for textCompletionType
.
unsafe fn inlinePredictionType(&self) -> NSTextInputTraitType
Sourceunsafe fn setInlinePredictionType(
&self,
inline_prediction_type: NSTextInputTraitType,
)
unsafe fn setInlinePredictionType( &self, inline_prediction_type: NSTextInputTraitType, )
Setter for inlinePredictionType
.
unsafe fn mathExpressionCompletionType(&self) -> NSTextInputTraitType
Sourceunsafe fn setMathExpressionCompletionType(
&self,
math_expression_completion_type: NSTextInputTraitType,
)
unsafe fn setMathExpressionCompletionType( &self, math_expression_completion_type: NSTextInputTraitType, )
Setter for mathExpressionCompletionType
.
unsafe fn writingToolsBehavior(&self) -> NSWritingToolsBehavior
Sourceunsafe fn setWritingToolsBehavior(
&self,
writing_tools_behavior: NSWritingToolsBehavior,
)
unsafe fn setWritingToolsBehavior( &self, writing_tools_behavior: NSWritingToolsBehavior, )
Setter for writingToolsBehavior
.
unsafe fn allowedWritingToolsResultOptions(&self) -> NSWritingToolsResultOptions
Sourceunsafe fn setAllowedWritingToolsResultOptions(
&self,
allowed_writing_tools_result_options: NSWritingToolsResultOptions,
)
unsafe fn setAllowedWritingToolsResultOptions( &self, allowed_writing_tools_result_options: NSWritingToolsResultOptions, )
Setter for allowedWritingToolsResultOptions
.