pub struct ITextProvider(/* private fields */);
Implementations§
Source§impl ITextProvider
impl ITextProvider
pub unsafe fn GetSelection(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn GetVisibleRanges(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn RangeFromChild<'a>( &self, childelement: impl IntoParam<'a, IRawElementProviderSimple>, ) -> Result<ITextRangeProvider>
pub unsafe fn RangeFromPoint<'a>( &self, point: impl IntoParam<'a, UiaPoint>, ) -> Result<ITextRangeProvider>
pub unsafe fn get_DocumentRange(&self) -> Result<ITextRangeProvider>
pub unsafe fn get_SupportedTextSelection( &self, ) -> Result<SupportedTextSelection>
Trait Implementations§
Source§impl Clone for ITextProvider
impl Clone for ITextProvider
Source§fn clone(&self) -> ITextProvider
fn clone(&self) -> ITextProvider
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 ITextProvider
impl Debug for ITextProvider
Source§impl From<&ITextEditProvider> for ITextProvider
impl From<&ITextEditProvider> for ITextProvider
Source§fn from(value: &ITextEditProvider) -> Self
fn from(value: &ITextEditProvider) -> Self
Converts to this type from the input type.
Source§impl From<&ITextProvider> for IUnknown
impl From<&ITextProvider> for IUnknown
Source§fn from(value: &ITextProvider) -> Self
fn from(value: &ITextProvider) -> Self
Converts to this type from the input type.
Source§impl From<&ITextProvider2> for ITextProvider
impl From<&ITextProvider2> for ITextProvider
Source§fn from(value: &ITextProvider2) -> Self
fn from(value: &ITextProvider2) -> Self
Converts to this type from the input type.
Source§impl From<ITextEditProvider> for ITextProvider
impl From<ITextEditProvider> for ITextProvider
Source§fn from(value: ITextEditProvider) -> Self
fn from(value: ITextEditProvider) -> Self
Converts to this type from the input type.
Source§impl From<ITextProvider> for IUnknown
impl From<ITextProvider> for IUnknown
Source§fn from(value: ITextProvider) -> Self
fn from(value: ITextProvider) -> Self
Converts to this type from the input type.
Source§impl From<ITextProvider2> for ITextProvider
impl From<ITextProvider2> for ITextProvider
Source§fn from(value: ITextProvider2) -> Self
fn from(value: ITextProvider2) -> Self
Converts to this type from the input type.
Source§impl Interface for ITextProvider
impl Interface for ITextProvider
const IID: Guid
type Vtable = ITextProvider_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 ITextProvider
impl PartialEq for ITextProvider
impl Eq for ITextProvider
impl StructuralPartialEq for ITextProvider
Auto Trait Implementations§
impl Freeze for ITextProvider
impl RefUnwindSafe for ITextProvider
impl !Send for ITextProvider
impl !Sync for ITextProvider
impl Unpin for ITextProvider
impl UnwindSafe for ITextProvider
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