pub unsafe trait NSTextInputTraits {
Show 28 methods
// Provided methods
fn autocorrectionType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
fn setAutocorrectionType(&self, autocorrection_type: NSTextInputTraitType)
where Self: Sized + Message { ... }
fn spellCheckingType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
fn setSpellCheckingType(&self, spell_checking_type: NSTextInputTraitType)
where Self: Sized + Message { ... }
fn grammarCheckingType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
fn setGrammarCheckingType(
&self,
grammar_checking_type: NSTextInputTraitType,
)
where Self: Sized + Message { ... }
fn smartQuotesType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
fn setSmartQuotesType(&self, smart_quotes_type: NSTextInputTraitType)
where Self: Sized + Message { ... }
fn smartDashesType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
fn setSmartDashesType(&self, smart_dashes_type: NSTextInputTraitType)
where Self: Sized + Message { ... }
fn smartInsertDeleteType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
fn setSmartInsertDeleteType(
&self,
smart_insert_delete_type: NSTextInputTraitType,
)
where Self: Sized + Message { ... }
fn textReplacementType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
fn setTextReplacementType(
&self,
text_replacement_type: NSTextInputTraitType,
)
where Self: Sized + Message { ... }
fn dataDetectionType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
fn setDataDetectionType(&self, data_detection_type: NSTextInputTraitType)
where Self: Sized + Message { ... }
fn linkDetectionType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
fn setLinkDetectionType(&self, link_detection_type: NSTextInputTraitType)
where Self: Sized + Message { ... }
fn textCompletionType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
fn setTextCompletionType(&self, text_completion_type: NSTextInputTraitType)
where Self: Sized + Message { ... }
fn inlinePredictionType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
fn setInlinePredictionType(
&self,
inline_prediction_type: NSTextInputTraitType,
)
where Self: Sized + Message { ... }
fn mathExpressionCompletionType(&self) -> NSTextInputTraitType
where Self: Sized + Message { ... }
fn setMathExpressionCompletionType(
&self,
math_expression_completion_type: NSTextInputTraitType,
)
where Self: Sized + Message { ... }
fn writingToolsBehavior(&self) -> NSWritingToolsBehavior
where Self: Sized + Message { ... }
fn setWritingToolsBehavior(
&self,
writing_tools_behavior: NSWritingToolsBehavior,
)
where Self: Sized + Message { ... }
fn allowedWritingToolsResultOptions(&self) -> NSWritingToolsResultOptions
where Self: Sized + Message { ... }
fn setAllowedWritingToolsResultOptions(
&self,
allowed_writing_tools_result_options: NSWritingToolsResultOptions,
)
where Self: Sized + Message { ... }
}Available on crate feature
NSTextCheckingClient only.Expand description
Provided Methods§
fn autocorrectionType(&self) -> NSTextInputTraitType
Sourcefn setAutocorrectionType(&self, autocorrection_type: NSTextInputTraitType)
fn setAutocorrectionType(&self, autocorrection_type: NSTextInputTraitType)
Setter for autocorrectionType.
fn spellCheckingType(&self) -> NSTextInputTraitType
Sourcefn setSpellCheckingType(&self, spell_checking_type: NSTextInputTraitType)
fn setSpellCheckingType(&self, spell_checking_type: NSTextInputTraitType)
Setter for spellCheckingType.
fn grammarCheckingType(&self) -> NSTextInputTraitType
Sourcefn setGrammarCheckingType(&self, grammar_checking_type: NSTextInputTraitType)
fn setGrammarCheckingType(&self, grammar_checking_type: NSTextInputTraitType)
Setter for grammarCheckingType.
fn smartQuotesType(&self) -> NSTextInputTraitType
Sourcefn setSmartQuotesType(&self, smart_quotes_type: NSTextInputTraitType)
fn setSmartQuotesType(&self, smart_quotes_type: NSTextInputTraitType)
Setter for smartQuotesType.
fn smartDashesType(&self) -> NSTextInputTraitType
Sourcefn setSmartDashesType(&self, smart_dashes_type: NSTextInputTraitType)
fn setSmartDashesType(&self, smart_dashes_type: NSTextInputTraitType)
Setter for smartDashesType.
fn smartInsertDeleteType(&self) -> NSTextInputTraitType
Sourcefn setSmartInsertDeleteType(
&self,
smart_insert_delete_type: NSTextInputTraitType,
)
fn setSmartInsertDeleteType( &self, smart_insert_delete_type: NSTextInputTraitType, )
Setter for smartInsertDeleteType.
fn textReplacementType(&self) -> NSTextInputTraitType
Sourcefn setTextReplacementType(&self, text_replacement_type: NSTextInputTraitType)
fn setTextReplacementType(&self, text_replacement_type: NSTextInputTraitType)
Setter for textReplacementType.
fn dataDetectionType(&self) -> NSTextInputTraitType
Sourcefn setDataDetectionType(&self, data_detection_type: NSTextInputTraitType)
fn setDataDetectionType(&self, data_detection_type: NSTextInputTraitType)
Setter for dataDetectionType.
fn linkDetectionType(&self) -> NSTextInputTraitType
Sourcefn setLinkDetectionType(&self, link_detection_type: NSTextInputTraitType)
fn setLinkDetectionType(&self, link_detection_type: NSTextInputTraitType)
Setter for linkDetectionType.
fn textCompletionType(&self) -> NSTextInputTraitType
Sourcefn setTextCompletionType(&self, text_completion_type: NSTextInputTraitType)
fn setTextCompletionType(&self, text_completion_type: NSTextInputTraitType)
Setter for textCompletionType.
fn inlinePredictionType(&self) -> NSTextInputTraitType
Sourcefn setInlinePredictionType(&self, inline_prediction_type: NSTextInputTraitType)
fn setInlinePredictionType(&self, inline_prediction_type: NSTextInputTraitType)
Setter for inlinePredictionType.
fn mathExpressionCompletionType(&self) -> NSTextInputTraitType
Sourcefn setMathExpressionCompletionType(
&self,
math_expression_completion_type: NSTextInputTraitType,
)
fn setMathExpressionCompletionType( &self, math_expression_completion_type: NSTextInputTraitType, )
Setter for mathExpressionCompletionType.
fn writingToolsBehavior(&self) -> NSWritingToolsBehavior
Sourcefn setWritingToolsBehavior(
&self,
writing_tools_behavior: NSWritingToolsBehavior,
)
fn setWritingToolsBehavior( &self, writing_tools_behavior: NSWritingToolsBehavior, )
Setter for writingToolsBehavior.
fn allowedWritingToolsResultOptions(&self) -> NSWritingToolsResultOptions
Sourcefn setAllowedWritingToolsResultOptions(
&self,
allowed_writing_tools_result_options: NSWritingToolsResultOptions,
)
fn setAllowedWritingToolsResultOptions( &self, allowed_writing_tools_result_options: NSWritingToolsResultOptions, )
Setter for allowedWritingToolsResultOptions.
Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSTextInputTraits
Source§impl ProtocolType for dyn NSTextInputTraits
impl ProtocolType for dyn NSTextInputTraits
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".