Trait ISpellChecker_Impl
pub trait ISpellChecker_Impl: IUnknownImpl {
Show 14 methods
// Required methods
fn LanguageTag(&self) -> Result<PWSTR>;
fn Check(&self, text: &PCWSTR) -> Result<IEnumSpellingError>;
fn Suggest(&self, word: &PCWSTR) -> Result<IEnumString>;
fn Add(&self, word: &PCWSTR) -> Result<()>;
fn Ignore(&self, word: &PCWSTR) -> Result<()>;
fn AutoCorrect(&self, from: &PCWSTR, to: &PCWSTR) -> Result<()>;
fn GetOptionValue(&self, optionid: &PCWSTR) -> Result<u8>;
fn OptionIds(&self) -> Result<IEnumString>;
fn Id(&self) -> Result<PWSTR>;
fn LocalizedName(&self) -> Result<PWSTR>;
fn add_SpellCheckerChanged(
&self,
handler: Ref<'_, ISpellCheckerChangedEventHandler>,
) -> Result<u32>;
fn remove_SpellCheckerChanged(&self, eventcookie: u32) -> Result<()>;
fn GetOptionDescription(
&self,
optionid: &PCWSTR,
) -> Result<IOptionDescription>;
fn ComprehensiveCheck(&self, text: &PCWSTR) -> Result<IEnumSpellingError>;
}
Required Methods§
fn LanguageTag(&self) -> Result<PWSTR>
fn Check(&self, text: &PCWSTR) -> Result<IEnumSpellingError>
fn Suggest(&self, word: &PCWSTR) -> Result<IEnumString>
fn Add(&self, word: &PCWSTR) -> Result<()>
fn Ignore(&self, word: &PCWSTR) -> Result<()>
fn AutoCorrect(&self, from: &PCWSTR, to: &PCWSTR) -> Result<()>
fn GetOptionValue(&self, optionid: &PCWSTR) -> Result<u8>
fn OptionIds(&self) -> Result<IEnumString>
fn Id(&self) -> Result<PWSTR>
fn LocalizedName(&self) -> Result<PWSTR>
fn add_SpellCheckerChanged( &self, handler: Ref<'_, ISpellCheckerChangedEventHandler>, ) -> Result<u32>
fn remove_SpellCheckerChanged(&self, eventcookie: u32) -> Result<()>
fn GetOptionDescription(&self, optionid: &PCWSTR) -> Result<IOptionDescription>
fn ComprehensiveCheck(&self, text: &PCWSTR) -> Result<IEnumSpellingError>
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.