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