Trait INSSpellServer

Source
pub trait INSSpellServer: PNSObject {
    // Provided methods
    fn p_delegate(&self) -> id { ... }
    fn m_register_language_by_vendor(
        &mut self,
        language: &NSString,
        vendor: &NSString,
    ) { ... }
    fn m_run(&mut self) { ... }
    fn m_is_word_in_user_dictionaries_case_sensitive(
        &self,
        word: &NSString,
        flag: bool,
    ) -> bool { ... }
}
Expand description

A trait containing all the methods for NSSpellServer

Provided Methods§

Source

fn p_delegate(&self) -> id

Returns the receiver’s delegate.

Source

fn m_register_language_by_vendor( &mut self, language: &NSString, vendor: &NSString, )

Sets the receiver’s delegate. Notifies the receiver of a language your spelling checker can check.

Source

fn m_run(&mut self)

Causes the receiver to start listening for spell-checking requests.

Source

fn m_is_word_in_user_dictionaries_case_sensitive( &self, word: &NSString, flag: bool, ) -> bool

Indicates whether a given word is in the user’s list of learned words or the document’s list of words to ignore.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§