Skip to main content

NSTextInputTraits

Trait NSTextInputTraits 

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

Source

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

Source

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

Setter for autocorrectionType.

Source

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

Source

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

Setter for spellCheckingType.

Source

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

Source

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

Setter for grammarCheckingType.

Source

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

Source

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

Setter for smartQuotesType.

Source

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

Source

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

Setter for smartDashesType.

Source

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

Source

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

Source

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

Source

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

Setter for textReplacementType.

Source

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

Source

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

Setter for dataDetectionType.

Source

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

Source

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

Setter for linkDetectionType.

Source

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

Source

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

Setter for textCompletionType.

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NSTextInputTraits

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> NSTextInputTraits for ProtocolObject<T>

Implementors§