windows::Win32::Globalization

Trait ISpellCheckProvider_Impl

pub trait ISpellCheckProvider_Impl: IUnknownImpl {
    // Required methods
    fn LanguageTag(&self) -> Result<PWSTR>;
    fn Check(&self, text: &PCWSTR) -> Result<IEnumSpellingError>;
    fn Suggest(&self, word: &PCWSTR) -> Result<IEnumString>;
    fn GetOptionValue(&self, optionid: &PCWSTR) -> Result<u8>;
    fn SetOptionValue(&self, optionid: &PCWSTR, value: u8) -> Result<()>;
    fn OptionIds(&self) -> Result<IEnumString>;
    fn Id(&self) -> Result<PWSTR>;
    fn LocalizedName(&self) -> Result<PWSTR>;
    fn GetOptionDescription(
        &self,
        optionid: &PCWSTR,
    ) -> Result<IOptionDescription>;
    fn InitializeWordlist(
        &self,
        wordlisttype: WORDLIST_TYPE,
        words: Ref<'_, IEnumString>,
    ) -> Result<()>;
}

Required Methods§

fn LanguageTag(&self) -> Result<PWSTR>

fn Check(&self, text: &PCWSTR) -> Result<IEnumSpellingError>

fn Suggest(&self, word: &PCWSTR) -> Result<IEnumString>

fn GetOptionValue(&self, optionid: &PCWSTR) -> Result<u8>

fn SetOptionValue(&self, optionid: &PCWSTR, value: u8) -> Result<()>

fn OptionIds(&self) -> Result<IEnumString>

fn Id(&self) -> Result<PWSTR>

fn LocalizedName(&self) -> Result<PWSTR>

fn GetOptionDescription(&self, optionid: &PCWSTR) -> Result<IOptionDescription>

fn InitializeWordlist( &self, wordlisttype: WORDLIST_TYPE, words: Ref<'_, IEnumString>, ) -> Result<()>

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§