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
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> 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