pub struct ISpellChecker(/* private fields */);Implementations§
Source§impl ISpellChecker
impl ISpellChecker
pub unsafe fn get_LanguageTag(&self) -> Result<PWSTR>
pub unsafe fn Check<'a>( &self, text: impl IntoParam<'a, PWSTR>, ) -> Result<IEnumSpellingError>
pub unsafe fn Suggest<'a>( &self, word: impl IntoParam<'a, PWSTR>, ) -> Result<IEnumString>
pub unsafe fn Add<'a>(&self, word: impl IntoParam<'a, PWSTR>) -> Result<()>
pub unsafe fn Ignore<'a>(&self, word: impl IntoParam<'a, PWSTR>) -> Result<()>
pub unsafe fn AutoCorrect<'a>( &self, from: impl IntoParam<'a, PWSTR>, to: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetOptionValue<'a>( &self, optionid: impl IntoParam<'a, PWSTR>, ) -> Result<u8>
pub unsafe fn get_OptionIds(&self) -> Result<IEnumString>
pub unsafe fn get_Id(&self) -> Result<PWSTR>
pub unsafe fn get_LocalizedName(&self) -> Result<PWSTR>
pub unsafe fn add_SpellCheckerChanged<'a>( &self, handler: impl IntoParam<'a, ISpellCheckerChangedEventHandler>, ) -> Result<u32>
pub unsafe fn remove_SpellCheckerChanged(&self, eventcookie: u32) -> Result<()>
pub unsafe fn GetOptionDescription<'a>( &self, optionid: impl IntoParam<'a, PWSTR>, ) -> Result<IOptionDescription>
pub unsafe fn ComprehensiveCheck<'a>( &self, text: impl IntoParam<'a, PWSTR>, ) -> Result<IEnumSpellingError>
Trait Implementations§
Source§impl Clone for ISpellChecker
impl Clone for ISpellChecker
Source§fn clone(&self) -> ISpellChecker
fn clone(&self) -> ISpellChecker
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ISpellChecker
impl Debug for ISpellChecker
Source§impl From<&ISpellChecker> for IUnknown
impl From<&ISpellChecker> for IUnknown
Source§fn from(value: &ISpellChecker) -> Self
fn from(value: &ISpellChecker) -> Self
Converts to this type from the input type.
Source§impl From<&ISpellChecker2> for ISpellChecker
impl From<&ISpellChecker2> for ISpellChecker
Source§fn from(value: &ISpellChecker2) -> Self
fn from(value: &ISpellChecker2) -> Self
Converts to this type from the input type.
Source§impl From<ISpellChecker> for IUnknown
impl From<ISpellChecker> for IUnknown
Source§fn from(value: ISpellChecker) -> Self
fn from(value: ISpellChecker) -> Self
Converts to this type from the input type.
Source§impl From<ISpellChecker2> for ISpellChecker
impl From<ISpellChecker2> for ISpellChecker
Source§fn from(value: ISpellChecker2) -> Self
fn from(value: ISpellChecker2) -> Self
Converts to this type from the input type.
Source§impl Interface for ISpellChecker
impl Interface for ISpellChecker
const IID: Guid
type Vtable = ISpellChecker_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for ISpellChecker
impl PartialEq for ISpellChecker
impl Eq for ISpellChecker
impl StructuralPartialEq for ISpellChecker
Auto Trait Implementations§
impl Freeze for ISpellChecker
impl RefUnwindSafe for ISpellChecker
impl !Send for ISpellChecker
impl !Sync for ISpellChecker
impl Unpin for ISpellChecker
impl UnwindSafe for ISpellChecker
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType to Result<T>.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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