Trait NSTextInputTraits

Source
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§

Source

unsafe fn autocorrectionType(&self) -> NSTextInputTraitType
where Self: Sized + Message,

Source

unsafe fn setAutocorrectionType( &self, autocorrection_type: NSTextInputTraitType, )
where Self: Sized + Message,

Setter for autocorrectionType.

Source

unsafe fn spellCheckingType(&self) -> NSTextInputTraitType
where Self: Sized + Message,

Source

unsafe fn setSpellCheckingType(&self, spell_checking_type: NSTextInputTraitType)
where Self: Sized + Message,

Setter for spellCheckingType.

Source

unsafe fn grammarCheckingType(&self) -> NSTextInputTraitType
where Self: Sized + Message,

Source

unsafe fn setGrammarCheckingType( &self, grammar_checking_type: NSTextInputTraitType, )
where Self: Sized + Message,

Setter for grammarCheckingType.

Source

unsafe fn smartQuotesType(&self) -> NSTextInputTraitType
where Self: Sized + Message,

Source

unsafe fn setSmartQuotesType(&self, smart_quotes_type: NSTextInputTraitType)
where Self: Sized + Message,

Setter for smartQuotesType.

Source

unsafe fn smartDashesType(&self) -> NSTextInputTraitType
where Self: Sized + Message,

Source

unsafe fn setSmartDashesType(&self, smart_dashes_type: NSTextInputTraitType)
where Self: Sized + Message,

Setter for smartDashesType.

Source

unsafe fn smartInsertDeleteType(&self) -> NSTextInputTraitType
where Self: Sized + Message,

Source

unsafe fn setSmartInsertDeleteType( &self, smart_insert_delete_type: NSTextInputTraitType, )
where Self: Sized + Message,

Source

unsafe fn textReplacementType(&self) -> NSTextInputTraitType
where Self: Sized + Message,

Source

unsafe fn setTextReplacementType( &self, text_replacement_type: NSTextInputTraitType, )
where Self: Sized + Message,

Setter for textReplacementType.

Source

unsafe fn dataDetectionType(&self) -> NSTextInputTraitType
where Self: Sized + Message,

Source

unsafe fn setDataDetectionType(&self, data_detection_type: NSTextInputTraitType)
where Self: Sized + Message,

Setter for dataDetectionType.

Source

unsafe fn linkDetectionType(&self) -> NSTextInputTraitType
where Self: Sized + Message,

Source

unsafe fn setLinkDetectionType(&self, link_detection_type: NSTextInputTraitType)
where Self: Sized + Message,

Setter for linkDetectionType.

Source

unsafe fn textCompletionType(&self) -> NSTextInputTraitType
where Self: Sized + Message,

Source

unsafe fn setTextCompletionType( &self, text_completion_type: NSTextInputTraitType, )
where Self: Sized + Message,

Setter for textCompletionType.

Source

unsafe fn inlinePredictionType(&self) -> NSTextInputTraitType
where Self: Sized + Message,

Source

unsafe fn setInlinePredictionType( &self, inline_prediction_type: NSTextInputTraitType, )
where Self: Sized + Message,

Source

unsafe fn mathExpressionCompletionType(&self) -> NSTextInputTraitType
where Self: Sized + Message,

Source

unsafe fn setMathExpressionCompletionType( &self, math_expression_completion_type: NSTextInputTraitType, )
where Self: Sized + Message,

Source

unsafe fn writingToolsBehavior(&self) -> NSWritingToolsBehavior
where Self: Sized + Message,

Source

unsafe fn setWritingToolsBehavior( &self, writing_tools_behavior: NSWritingToolsBehavior, )
where Self: Sized + Message,

Source

unsafe fn allowedWritingToolsResultOptions(&self) -> NSWritingToolsResultOptions
where Self: Sized + Message,

Source

unsafe fn setAllowedWritingToolsResultOptions( &self, allowed_writing_tools_result_options: NSWritingToolsResultOptions, )
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn NSTextInputTraits

Source§

const NAME: &'static str = "NSTextInputTraits"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn NSTextInputTraits

Implementations on Foreign Types§

Source§

impl<T> NSTextInputTraits for ProtocolObject<T>

Implementors§