Struct windows::Win32::UI::Controls::RichEdit::ITextRange_Vtbl

#[repr(C)]
pub struct ITextRange_Vtbl {
Show 52 fields pub base__: IDispatch_Vtbl, pub GetText: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetText: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub GetChar: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetChar: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub GetDuplicate: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetFormattedText: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SetFormattedText: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub GetStart: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetStart: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub GetEnd: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetEnd: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub GetFont: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SetFont: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub GetPara: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SetPara: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub GetStoryLength: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub GetStoryType: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub Collapse: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub Expand: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut i32) -> HRESULT, pub GetIndex: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut i32) -> HRESULT, pub SetIndex: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: i32) -> HRESULT, pub SetRange: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT, pub InRange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut i32) -> HRESULT, pub InStory: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut i32) -> HRESULT, pub IsEqual: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut i32) -> HRESULT, pub Select: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub StartOf: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut i32) -> HRESULT, pub EndOf: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut i32) -> HRESULT, pub Move: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut i32) -> HRESULT, pub MoveStart: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut i32) -> HRESULT, pub MoveEnd: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut i32) -> HRESULT, pub MoveWhile: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32, _: *mut i32) -> HRESULT, pub MoveStartWhile: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32, _: *mut i32) -> HRESULT, pub MoveEndWhile: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32, _: *mut i32) -> HRESULT, pub MoveUntil: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32, _: *mut i32) -> HRESULT, pub MoveStartUntil: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32, _: *mut i32) -> HRESULT, pub MoveEndUntil: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32, _: *mut i32) -> HRESULT, pub FindText: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: i32, _: tomConstants, _: *mut i32) -> HRESULT, pub FindTextStart: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: i32, _: tomConstants, _: *mut i32) -> HRESULT, pub FindTextEnd: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: i32, _: tomConstants, _: *mut i32) -> HRESULT, pub Delete: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut i32) -> HRESULT, pub Cut: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT, pub Copy: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT, pub Paste: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32) -> HRESULT, pub CanPaste: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32, _: *mut i32) -> HRESULT, pub CanEdit: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub ChangeCase: unsafe extern "system" fn(_: *mut c_void, _: tomConstants) -> HRESULT, pub GetPoint: unsafe extern "system" fn(_: *mut c_void, _: tomConstants, _: *mut i32, _: *mut i32) -> HRESULT, pub SetPoint: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: tomConstants, _: i32) -> HRESULT, pub ScrollIntoView: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub GetEmbeddedObject: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
}

Fields§

§base__: IDispatch_Vtbl§GetText: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetText: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§GetChar: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetChar: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§GetDuplicate: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetFormattedText: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SetFormattedText: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§GetStart: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetStart: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§GetEnd: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetEnd: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§GetFont: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SetFont: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§GetPara: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SetPara: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§GetStoryLength: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§GetStoryType: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§Collapse: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§Expand: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut i32) -> HRESULT§GetIndex: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut i32) -> HRESULT§SetIndex: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: i32) -> HRESULT§SetRange: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT§InRange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut i32) -> HRESULT§InStory: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut i32) -> HRESULT§IsEqual: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut i32) -> HRESULT§Select: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§StartOf: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut i32) -> HRESULT§EndOf: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut i32) -> HRESULT§Move: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut i32) -> HRESULT§MoveStart: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut i32) -> HRESULT§MoveEnd: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut i32) -> HRESULT§MoveWhile: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32, _: *mut i32) -> HRESULT§MoveStartWhile: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32, _: *mut i32) -> HRESULT§MoveEndWhile: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32, _: *mut i32) -> HRESULT§MoveUntil: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32, _: *mut i32) -> HRESULT§MoveStartUntil: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32, _: *mut i32) -> HRESULT§MoveEndUntil: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32, _: *mut i32) -> HRESULT§FindText: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: i32, _: tomConstants, _: *mut i32) -> HRESULT§FindTextStart: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: i32, _: tomConstants, _: *mut i32) -> HRESULT§FindTextEnd: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: i32, _: tomConstants, _: *mut i32) -> HRESULT§Delete: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut i32) -> HRESULT§Cut: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT§Copy: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT§Paste: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32) -> HRESULT§CanPaste: unsafe extern "system" fn(_: *mut c_void, _: *const MaybeUninit<VARIANT>, _: i32, _: *mut i32) -> HRESULT§CanEdit: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§ChangeCase: unsafe extern "system" fn(_: *mut c_void, _: tomConstants) -> HRESULT§GetPoint: unsafe extern "system" fn(_: *mut c_void, _: tomConstants, _: *mut i32, _: *mut i32) -> HRESULT§SetPoint: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: tomConstants, _: i32) -> HRESULT§ScrollIntoView: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§GetEmbeddedObject: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT

Implementations§

§

impl ITextRange_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> ITextRange_Vtbl
where Identity: ITextRange_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.