#[repr(C)]pub struct ITextRangeProvider2 {
pub lpVtbl: *const ITextRangeProvider2Vtbl,
}
Fields§
§lpVtbl: *const ITextRangeProvider2Vtbl
Implementations§
Source§impl ITextRangeProvider2
impl ITextRangeProvider2
pub unsafe fn ShowContextMenu(&self) -> HRESULT
Methods from Deref<Target = ITextRangeProvider>§
pub unsafe fn Clone(&self, pRetVal: *mut *mut ITextRangeProvider) -> HRESULT
pub unsafe fn Compare( &self, range: *mut ITextRangeProvider, pRetVal: *mut BOOL, ) -> HRESULT
pub unsafe fn CompareEndpoints( &self, endpoint: TextPatternRangeEndpoint, targetRange: *mut ITextRangeProvider, targetEndpoint: TextPatternRangeEndpoint, pRetVal: *mut c_int, ) -> HRESULT
pub unsafe fn ExpandToEnclosingUnit(&self, unit: TextUnit) -> HRESULT
pub unsafe fn FindAttribute( &self, attributeId: TEXTATTRIBUTEID, val: VARIANT, backward: BOOL, pRetVal: *mut *mut ITextRangeProvider, ) -> HRESULT
pub unsafe fn FindText( &self, text: BSTR, backward: BOOL, ignoreCase: BOOL, pRetVal: *mut *mut ITextRangeProvider, ) -> HRESULT
pub unsafe fn GetAttributeValue( &self, attributeId: TEXTATTRIBUTEID, pRetVal: *mut VARIANT, ) -> HRESULT
pub unsafe fn GetBoundingRectangles( &self, pRetVal: *mut *mut SAFEARRAY, ) -> HRESULT
pub unsafe fn GetEnclosingElement( &self, pRetVal: *mut *mut IRawElementProviderSimple, ) -> HRESULT
pub unsafe fn GetText(&self, maxLength: c_int, pRetVal: *mut BSTR) -> HRESULT
pub unsafe fn Move( &self, unit: TextUnit, count: c_int, pRetVal: *mut c_int, ) -> HRESULT
pub unsafe fn MoveEndpointByUnit( &self, endpoint: TextPatternRangeEndpoint, unit: TextUnit, count: c_int, pRetVal: *mut c_int, ) -> HRESULT
pub unsafe fn MoveEndpointByRange( &self, endpoint: TextPatternRangeEndpoint, targetRange: *mut ITextRangeProvider, targetEndpoint: TextPatternRangeEndpoint, ) -> HRESULT
pub unsafe fn Select(&self) -> HRESULT
pub unsafe fn AddToSelection(&self) -> HRESULT
pub unsafe fn RemoveFromSelection(&self) -> HRESULT
pub unsafe fn ScrollIntoView(&self, alignToTop: BOOL) -> HRESULT
pub unsafe fn GetChildren(&self, pRetVal: *mut *mut SAFEARRAY) -> HRESULT
Trait Implementations§
Source§impl Deref for ITextRangeProvider2
impl Deref for ITextRangeProvider2
Source§type Target = ITextRangeProvider
type Target = ITextRangeProvider
The resulting type after dereferencing.
Source§fn deref(&self) -> &ITextRangeProvider
fn deref(&self) -> &ITextRangeProvider
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ITextRangeProvider2
impl RefUnwindSafe for ITextRangeProvider2
impl !Send for ITextRangeProvider2
impl !Sync for ITextRangeProvider2
impl Unpin for ITextRangeProvider2
impl UnwindSafe for ITextRangeProvider2
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