pub struct NSSpellServer { /* private fields */ }
Expand description
A server that your app uses to provide a spell checker service to other apps running in the system.
Implementations§
Source§impl NSSpellServer
impl NSSpellServer
Sourcepub fn register_language_by_vendor(
&mut self,
language: &NSString,
vendor: &NSString,
)
pub fn 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.
Sourcepub fn is_word_in_user_dictionaries_case_sensitive(
&self,
word: &NSString,
flag: bool,
) -> bool
pub fn 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.
Trait Implementations§
Source§impl Debug for NSSpellServer
impl Debug for NSSpellServer
Source§impl Display for NSSpellServer
impl Display for NSSpellServer
Source§impl Encode for NSSpellServer
impl Encode for NSSpellServer
Source§impl FromId for NSSpellServer
impl FromId for NSSpellServer
Source§impl INSSpellServer for NSSpellServer
impl INSSpellServer for NSSpellServer
Source§fn p_delegate(&self) -> id
fn p_delegate(&self) -> id
Returns the receiver’s delegate.
Source§fn m_register_language_by_vendor(
&mut self,
language: &NSString,
vendor: &NSString,
)
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§impl PNSObject for NSSpellServer
impl PNSObject for NSSpellServer
Source§fn m_new() -> Self
fn m_new() -> Self
Allocates a new instance of the receiving class, sends it an init message, and returns the initialized object.
Source§fn m_initialize()
fn m_initialize()
Initializes the class before it receives its first message.
Source§fn ip_superclass<'a>() -> Option<&'a Class>
fn ip_superclass<'a>() -> Option<&'a Class>
Returns the class object for the receiver’s superclass.
Source§fn m_is_equal(&self, object: &Self) -> bool
fn m_is_equal(&self, object: &Self) -> bool
Returns a Boolean value that indicates whether the receiver and a given object are equal.
Source§fn p_hash(&self) -> UInt
fn p_hash(&self) -> UInt
Returns an integer that can be used as a table address in a hash table structure.
Source§fn m_is_kind_of_class(&self, class: Class) -> bool
fn m_is_kind_of_class(&self, class: Class) -> bool
Returns a Boolean value that indicates whether the receiver is an instance of given class or an instance of any class that inherits from that class.
Source§fn m_is_member_of_class(&self, class: Class) -> bool
fn m_is_member_of_class(&self, class: Class) -> bool
Returns a Boolean value that indicates whether the receiver is an instance of a given class.
Source§fn m_responds_to_selector(&self, selector: Sel) -> bool
fn m_responds_to_selector(&self, selector: Sel) -> bool
Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message.
Source§fn m_conforms_to_protocol(&self, protocol: Protocol) -> bool
fn m_conforms_to_protocol(&self, protocol: Protocol) -> bool
Returns a Boolean value that indicates whether the receiver conforms to a given protocol.
Source§fn p_description(&self) -> NSString
fn p_description(&self) -> NSString
A textual representation of the receiver.
Source§fn p_debug_description(&self) -> NSString
fn p_debug_description(&self) -> NSString
A textual representation of the receiver to use with a debugger.
Source§fn m_perform_selector(&self, selector: Sel) -> id
fn m_perform_selector(&self, selector: Sel) -> id
Sends a specified message to the receiver and returns the result of the message.
Source§fn m_perform_selector_with_object(&self, selector: Sel, with_object: id) -> id
fn m_perform_selector_with_object(&self, selector: Sel, with_object: id) -> id
Sends a message to the receiver with an object as the argument.
Source§fn m_is_proxy(&self) -> bool
fn m_is_proxy(&self) -> bool
Returns a Boolean value that indicates whether the receiver does not descend from NSObject.
Auto Trait Implementations§
impl Freeze for NSSpellServer
impl RefUnwindSafe for NSSpellServer
impl Send for NSSpellServer
impl Sync for NSSpellServer
impl Unpin for NSSpellServer
impl UnwindSafe for NSSpellServer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more