pub struct ISpellChecker2(/* private fields */);Implementations§
Source§impl ISpellChecker2
impl ISpellChecker2
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>
pub unsafe fn Remove<'a>(&self, word: impl IntoParam<'a, PWSTR>) -> Result<()>
Trait Implementations§
Source§impl Clone for ISpellChecker2
impl Clone for ISpellChecker2
Source§fn clone(&self) -> ISpellChecker2
fn clone(&self) -> ISpellChecker2
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 ISpellChecker2
impl Debug for ISpellChecker2
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<&ISpellChecker2> for IUnknown
impl From<&ISpellChecker2> for IUnknown
Source§fn from(value: &ISpellChecker2) -> Self
fn from(value: &ISpellChecker2) -> 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<ISpellChecker2> for IUnknown
impl From<ISpellChecker2> for IUnknown
Source§fn from(value: ISpellChecker2) -> Self
fn from(value: ISpellChecker2) -> Self
Converts to this type from the input type.
Source§impl Interface for ISpellChecker2
impl Interface for ISpellChecker2
const IID: Guid
type Vtable = ISpellChecker2_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 ISpellChecker2
impl PartialEq for ISpellChecker2
impl Eq for ISpellChecker2
impl StructuralPartialEq for ISpellChecker2
Auto Trait Implementations§
impl Freeze for ISpellChecker2
impl RefUnwindSafe for ISpellChecker2
impl !Send for ISpellChecker2
impl !Sync for ISpellChecker2
impl Unpin for ISpellChecker2
impl UnwindSafe for ISpellChecker2
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