pub struct ISpellCheckProvider(/* private fields */);
Implementations§
Source§impl ISpellCheckProvider
impl ISpellCheckProvider
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 GetOptionValue<'a>( &self, optionid: impl IntoParam<'a, PWSTR>, ) -> Result<u8>
pub unsafe fn SetOptionValue<'a>( &self, optionid: impl IntoParam<'a, PWSTR>, value: u8, ) -> Result<()>
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 GetOptionDescription<'a>( &self, optionid: impl IntoParam<'a, PWSTR>, ) -> Result<IOptionDescription>
pub unsafe fn InitializeWordlist<'a>( &self, wordlisttype: WORDLIST_TYPE, words: impl IntoParam<'a, IEnumString>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for ISpellCheckProvider
impl Clone for ISpellCheckProvider
Source§fn clone(&self) -> ISpellCheckProvider
fn clone(&self) -> ISpellCheckProvider
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 ISpellCheckProvider
impl Debug for ISpellCheckProvider
Source§impl From<&ISpellCheckProvider> for IUnknown
impl From<&ISpellCheckProvider> for IUnknown
Source§fn from(value: &ISpellCheckProvider) -> Self
fn from(value: &ISpellCheckProvider) -> Self
Converts to this type from the input type.
Source§impl From<ISpellCheckProvider> for IUnknown
impl From<ISpellCheckProvider> for IUnknown
Source§fn from(value: ISpellCheckProvider) -> Self
fn from(value: ISpellCheckProvider) -> Self
Converts to this type from the input type.
Source§impl Interface for ISpellCheckProvider
impl Interface for ISpellCheckProvider
const IID: Guid
type Vtable = ISpellCheckProvider_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 ISpellCheckProvider
impl PartialEq for ISpellCheckProvider
impl Eq for ISpellCheckProvider
impl StructuralPartialEq for ISpellCheckProvider
Auto Trait Implementations§
impl Freeze for ISpellCheckProvider
impl RefUnwindSafe for ISpellCheckProvider
impl !Send for ISpellCheckProvider
impl !Sync for ISpellCheckProvider
impl Unpin for ISpellCheckProvider
impl UnwindSafe for ISpellCheckProvider
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