Trait objc2_app_kit::NSTextInputTraits

source ·
pub unsafe trait NSTextInputTraits {
Show 22 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 { ... }
}
Available on crate feature NSTextCheckingClient only.

Provided Methods§

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

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,

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

unsafe fn setInlinePredictionType( &self, inline_prediction_type: NSTextInputTraitType )
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.
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§