Trait NSInputServiceProvider

Source
pub unsafe trait NSInputServiceProvider {
Show 15 methods // Provided methods unsafe fn insertText_client( &self, string: Option<&AnyObject>, sender: Option<&AnyObject>, ) where Self: Sized + Message { ... } unsafe fn doCommandBySelector_client( &self, selector: Option<Sel>, sender: Option<&AnyObject>, ) where Self: Sized + Message { ... } unsafe fn markedTextAbandoned(&self, sender: Option<&AnyObject>) where Self: Sized + Message { ... } unsafe fn markedTextSelectionChanged_client( &self, new_sel: NSRange, sender: Option<&AnyObject>, ) where Self: Sized + Message { ... } unsafe fn terminate(&self, sender: Option<&AnyObject>) where Self: Sized + Message { ... } unsafe fn canBeDisabled(&self) -> bool where Self: Sized + Message { ... } unsafe fn wantsToInterpretAllKeystrokes(&self) -> bool where Self: Sized + Message { ... } unsafe fn wantsToHandleMouseEvents(&self) -> bool where Self: Sized + Message { ... } unsafe fn wantsToDelayTextChangeNotifications(&self) -> bool where Self: Sized + Message { ... } unsafe fn inputClientBecomeActive(&self, sender: Option<&AnyObject>) where Self: Sized + Message { ... } unsafe fn inputClientResignActive(&self, sender: Option<&AnyObject>) where Self: Sized + Message { ... } unsafe fn inputClientEnabled(&self, sender: Option<&AnyObject>) where Self: Sized + Message { ... } unsafe fn inputClientDisabled(&self, sender: Option<&AnyObject>) where Self: Sized + Message { ... } unsafe fn activeConversationWillChange_fromOldConversation( &self, sender: Option<&AnyObject>, old_conversation: NSInteger, ) where Self: Sized + Message { ... } unsafe fn activeConversationChanged_toNewConversation( &self, sender: Option<&AnyObject>, new_conversation: NSInteger, ) where Self: Sized + Message { ... }
}
Available on crate feature NSInputServer only.
Expand description

Provided MethodsΒ§

Source

unsafe fn insertText_client( &self, string: Option<&AnyObject>, sender: Option<&AnyObject>, )
where Self: Sized + Message,

πŸ‘ŽDeprecated
Source

unsafe fn doCommandBySelector_client( &self, selector: Option<Sel>, sender: Option<&AnyObject>, )
where Self: Sized + Message,

πŸ‘ŽDeprecated
Source

unsafe fn markedTextAbandoned(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

πŸ‘ŽDeprecated
Source

unsafe fn markedTextSelectionChanged_client( &self, new_sel: NSRange, sender: Option<&AnyObject>, )
where Self: Sized + Message,

πŸ‘ŽDeprecated
Source

unsafe fn terminate(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

πŸ‘ŽDeprecated
Source

unsafe fn canBeDisabled(&self) -> bool
where Self: Sized + Message,

πŸ‘ŽDeprecated
Source

unsafe fn wantsToInterpretAllKeystrokes(&self) -> bool
where Self: Sized + Message,

πŸ‘ŽDeprecated
Source

unsafe fn wantsToHandleMouseEvents(&self) -> bool
where Self: Sized + Message,

πŸ‘ŽDeprecated
Source

unsafe fn wantsToDelayTextChangeNotifications(&self) -> bool
where Self: Sized + Message,

πŸ‘ŽDeprecated
Source

unsafe fn inputClientBecomeActive(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

πŸ‘ŽDeprecated
Source

unsafe fn inputClientResignActive(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

πŸ‘ŽDeprecated
Source

unsafe fn inputClientEnabled(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

πŸ‘ŽDeprecated
Source

unsafe fn inputClientDisabled(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

πŸ‘ŽDeprecated
Source

unsafe fn activeConversationWillChange_fromOldConversation( &self, sender: Option<&AnyObject>, old_conversation: NSInteger, )
where Self: Sized + Message,

πŸ‘ŽDeprecated
Source

unsafe fn activeConversationChanged_toNewConversation( &self, sender: Option<&AnyObject>, new_conversation: NSInteger, )
where Self: Sized + Message,

πŸ‘ŽDeprecated

Trait ImplementationsΒ§

SourceΒ§

impl ProtocolType for dyn NSInputServiceProvider

SourceΒ§

const NAME: &'static str = "NSInputServiceProvider"

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 NSInputServiceProvider

Implementations on Foreign TypesΒ§

SourceΒ§

impl<T> NSInputServiceProvider for ProtocolObject<T>

ImplementorsΒ§