#[repr(C)]pub struct ITextRangeProvider {
pub lpVtbl: *const ITextRangeProviderVtbl,
}
Fields§
§lpVtbl: *const ITextRangeProviderVtbl
Implementations§
Source§impl ITextRangeProvider
impl 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 ITextRangeProvider
impl Deref 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