Struct windows::UI::Text::ITextRange_Vtbl
#[repr(C)]pub struct ITextRange_Vtbl {Show 53 fields
pub base__: IInspectable_Vtbl,
pub Character: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT,
pub SetCharacter: unsafe extern "system" fn(_: *mut c_void, _: u16) -> HRESULT,
pub CharacterFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub SetCharacterFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub FormattedText: 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 EndPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub SetEndPosition: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub Gravity: unsafe extern "system" fn(_: *mut c_void, _: *mut RangeGravity) -> HRESULT,
pub SetGravity: unsafe extern "system" fn(_: *mut c_void, _: RangeGravity) -> HRESULT,
pub Length: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub Link: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT,
pub SetLink: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT,
pub ParagraphFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub SetParagraphFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub StartPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub SetStartPosition: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub StoryLength: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub Text: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT,
pub SetText: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT,
pub CanPaste: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut bool) -> HRESULT,
pub ChangeCase: unsafe extern "system" fn(_: *mut c_void, _: LetterCase) -> HRESULT,
pub Collapse: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT,
pub Copy: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Cut: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Delete: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: i32, _: *mut i32) -> HRESULT,
pub EndOf: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: bool, _: *mut i32) -> HRESULT,
pub Expand: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: *mut i32) -> HRESULT,
pub FindText: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>, _: i32, _: FindOptions, _: *mut i32) -> HRESULT,
pub GetCharacterUtf32: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: i32) -> HRESULT,
pub GetClone: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub GetIndex: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: *mut i32) -> HRESULT,
pub GetPoint: unsafe extern "system" fn(_: *mut c_void, _: HorizontalCharacterAlignment, _: VerticalCharacterAlignment, _: PointOptions, _: *mut Point) -> HRESULT,
pub GetRect: unsafe extern "system" fn(_: *mut c_void, _: PointOptions, _: *mut Rect, _: *mut i32) -> HRESULT,
pub GetText: unsafe extern "system" fn(_: *mut c_void, _: TextGetOptions, _: *mut MaybeUninit<HSTRING>) -> HRESULT,
pub GetTextViaStream: unsafe extern "system" fn(_: *mut c_void, _: TextGetOptions, _: *mut c_void) -> HRESULT,
pub InRange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut bool) -> HRESULT,
pub InsertImage: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: i32, _: VerticalCharacterAlignment, _: MaybeUninit<HSTRING>, _: *mut c_void) -> HRESULT,
pub InStory: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut bool) -> HRESULT,
pub IsEqual: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut bool) -> HRESULT,
pub Move: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: i32, _: *mut i32) -> HRESULT,
pub MoveEnd: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: i32, _: *mut i32) -> HRESULT,
pub MoveStart: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: i32, _: *mut i32) -> HRESULT,
pub Paste: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub ScrollIntoView: unsafe extern "system" fn(_: *mut c_void, _: PointOptions) -> HRESULT,
pub MatchSelection: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub SetIndex: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: i32, _: bool) -> HRESULT,
pub SetPoint: unsafe extern "system" fn(_: *mut c_void, _: Point, _: PointOptions, _: bool) -> HRESULT,
pub SetRange: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT,
pub SetText2: unsafe extern "system" fn(_: *mut c_void, _: TextSetOptions, _: MaybeUninit<HSTRING>) -> HRESULT,
pub SetTextViaStream: unsafe extern "system" fn(_: *mut c_void, _: TextSetOptions, _: *mut c_void) -> HRESULT,
pub StartOf: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: bool, _: *mut i32) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§Character: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT
§SetCharacter: unsafe extern "system" fn(_: *mut c_void, _: u16) -> HRESULT
§CharacterFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§SetCharacterFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§FormattedText: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§SetFormattedText: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§EndPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
§SetEndPosition: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§Gravity: unsafe extern "system" fn(_: *mut c_void, _: *mut RangeGravity) -> HRESULT
§SetGravity: unsafe extern "system" fn(_: *mut c_void, _: RangeGravity) -> HRESULT
§Length: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
§Link: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT
§SetLink: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT
§ParagraphFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§SetParagraphFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§StartPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
§SetStartPosition: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§StoryLength: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
§Text: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT
§SetText: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT
§CanPaste: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut bool) -> HRESULT
§ChangeCase: unsafe extern "system" fn(_: *mut c_void, _: LetterCase) -> HRESULT
§Collapse: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT
§Copy: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§Cut: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§Delete: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: i32, _: *mut i32) -> HRESULT
§EndOf: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: bool, _: *mut i32) -> HRESULT
§Expand: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: *mut i32) -> HRESULT
§FindText: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>, _: i32, _: FindOptions, _: *mut i32) -> HRESULT
§GetCharacterUtf32: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: i32) -> HRESULT
§GetClone: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§GetIndex: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: *mut i32) -> HRESULT
§GetPoint: unsafe extern "system" fn(_: *mut c_void, _: HorizontalCharacterAlignment, _: VerticalCharacterAlignment, _: PointOptions, _: *mut Point) -> HRESULT
§GetRect: unsafe extern "system" fn(_: *mut c_void, _: PointOptions, _: *mut Rect, _: *mut i32) -> HRESULT
§GetText: unsafe extern "system" fn(_: *mut c_void, _: TextGetOptions, _: *mut MaybeUninit<HSTRING>) -> HRESULT
§GetTextViaStream: unsafe extern "system" fn(_: *mut c_void, _: TextGetOptions, _: *mut c_void) -> HRESULT
§InRange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut bool) -> HRESULT
§InsertImage: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: i32, _: VerticalCharacterAlignment, _: MaybeUninit<HSTRING>, _: *mut c_void) -> HRESULT
§InStory: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut bool) -> HRESULT
§IsEqual: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut bool) -> HRESULT
§Move: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: i32, _: *mut i32) -> HRESULT
§MoveEnd: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: i32, _: *mut i32) -> HRESULT
§MoveStart: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: i32, _: *mut i32) -> HRESULT
§Paste: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§ScrollIntoView: unsafe extern "system" fn(_: *mut c_void, _: PointOptions) -> HRESULT
§MatchSelection: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§SetIndex: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: i32, _: bool) -> HRESULT
§SetPoint: unsafe extern "system" fn(_: *mut c_void, _: Point, _: PointOptions, _: bool) -> HRESULT
§SetRange: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT
§SetText2: unsafe extern "system" fn(_: *mut c_void, _: TextSetOptions, _: MaybeUninit<HSTRING>) -> HRESULT
§SetTextViaStream: unsafe extern "system" fn(_: *mut c_void, _: TextSetOptions, _: *mut c_void) -> HRESULT
§StartOf: unsafe extern "system" fn(_: *mut c_void, _: TextRangeUnit, _: bool, _: *mut i32) -> HRESULT
Implementations§
§impl ITextRange_Vtbl
impl ITextRange_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ITextRange_Vtblwhere
Identity: ITextRange_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ITextRange_Vtbl
impl RefUnwindSafe for ITextRange_Vtbl
impl Send for ITextRange_Vtbl
impl Sync for ITextRange_Vtbl
impl Unpin for ITextRange_Vtbl
impl UnwindSafe for ITextRange_Vtbl
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