pub struct ITextRangeProvider(/* private fields */);
Implementations§
Source§impl ITextRangeProvider
impl ITextRangeProvider
pub unsafe fn Clone(&self) -> Result<ITextRangeProvider, Error>
pub unsafe fn Compare<'a>( &self, range: impl IntoParam<'a, ITextRangeProvider>, ) -> Result<BOOL, Error>
pub unsafe fn CompareEndpoints<'a>( &self, endpoint: TextPatternRangeEndpoint, targetrange: impl IntoParam<'a, ITextRangeProvider>, targetendpoint: TextPatternRangeEndpoint, ) -> Result<i32, Error>
pub unsafe fn ExpandToEnclosingUnit(&self, unit: TextUnit) -> Result<(), Error>
pub unsafe fn FindAttribute<'a>( &self, attributeid: i32, val: impl IntoParam<'a, VARIANT>, backward: impl IntoParam<'a, BOOL>, ) -> Result<ITextRangeProvider, Error>
pub unsafe fn FindText<'a>( &self, text: impl IntoParam<'a, BSTR>, backward: impl IntoParam<'a, BOOL>, ignorecase: impl IntoParam<'a, BOOL>, ) -> Result<ITextRangeProvider, Error>
pub unsafe fn GetAttributeValue( &self, attributeid: i32, ) -> Result<VARIANT, Error>
pub unsafe fn GetBoundingRectangles(&self) -> Result<*mut SAFEARRAY, Error>
pub unsafe fn GetEnclosingElement( &self, ) -> Result<IRawElementProviderSimple, Error>
pub unsafe fn GetText(&self, maxlength: i32) -> Result<BSTR, Error>
pub unsafe fn Move(&self, unit: TextUnit, count: i32) -> Result<i32, Error>
pub unsafe fn MoveEndpointByUnit( &self, endpoint: TextPatternRangeEndpoint, unit: TextUnit, count: i32, ) -> Result<i32, Error>
pub unsafe fn MoveEndpointByRange<'a>( &self, endpoint: TextPatternRangeEndpoint, targetrange: impl IntoParam<'a, ITextRangeProvider>, targetendpoint: TextPatternRangeEndpoint, ) -> Result<(), Error>
pub unsafe fn Select(&self) -> Result<(), Error>
pub unsafe fn AddToSelection(&self) -> Result<(), Error>
pub unsafe fn RemoveFromSelection(&self) -> Result<(), Error>
pub unsafe fn ScrollIntoView<'a>( &self, aligntotop: impl IntoParam<'a, BOOL>, ) -> Result<(), Error>
pub unsafe fn GetChildren(&self) -> Result<*mut SAFEARRAY, Error>
Trait Implementations§
Source§impl Clone for ITextRangeProvider
impl Clone for ITextRangeProvider
Source§fn clone(&self) -> ITextRangeProvider
fn clone(&self) -> ITextRangeProvider
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 ITextRangeProvider
impl Debug for ITextRangeProvider
Source§impl From<&ITextRangeProvider2> for ITextRangeProvider
impl From<&ITextRangeProvider2> for ITextRangeProvider
Source§fn from(value: &ITextRangeProvider2) -> ITextRangeProvider
fn from(value: &ITextRangeProvider2) -> ITextRangeProvider
Converts to this type from the input type.
Source§impl From<ITextRangeProvider2> for ITextRangeProvider
impl From<ITextRangeProvider2> for ITextRangeProvider
Source§fn from(value: ITextRangeProvider2) -> ITextRangeProvider
fn from(value: ITextRangeProvider2) -> ITextRangeProvider
Converts to this type from the input type.
Source§impl Interface for ITextRangeProvider
impl Interface for ITextRangeProvider
Source§impl PartialEq for ITextRangeProvider
impl PartialEq for ITextRangeProvider
impl Eq for ITextRangeProvider
impl StructuralPartialEq for ITextRangeProvider
Auto Trait Implementations§
impl Freeze for ITextRangeProvider
impl RefUnwindSafe for ITextRangeProvider
impl !Send for ITextRangeProvider
impl !Sync for ITextRangeProvider
impl Unpin for ITextRangeProvider
impl UnwindSafe for ITextRangeProvider
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