Struct windows::Win32::UI::TextServices::ITfRange_Vtbl

#[repr(C)]
pub struct ITfRange_Vtbl {
Show 23 fields pub base__: IUnknown_Vtbl, pub GetText: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: PWSTR, _: u32, _: *mut u32) -> HRESULT, pub SetText: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: PCWSTR, _: i32) -> HRESULT, pub GetFormattedText: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT, pub GetEmbedded: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const GUID, _: *const GUID, _: *mut *mut c_void) -> HRESULT, pub InsertEmbedded: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut c_void) -> HRESULT, pub ShiftStart: unsafe extern "system" fn(_: *mut c_void, _: u32, _: i32, _: *mut i32, _: *const TF_HALTCOND) -> HRESULT, pub ShiftEnd: unsafe extern "system" fn(_: *mut c_void, _: u32, _: i32, _: *mut i32, _: *const TF_HALTCOND) -> HRESULT, pub ShiftStartToRange: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: TfAnchor) -> HRESULT, pub ShiftEndToRange: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: TfAnchor) -> HRESULT, pub ShiftStartRegion: unsafe extern "system" fn(_: *mut c_void, _: u32, _: TfShiftDir, _: *mut BOOL) -> HRESULT, pub ShiftEndRegion: unsafe extern "system" fn(_: *mut c_void, _: u32, _: TfShiftDir, _: *mut BOOL) -> HRESULT, pub IsEmpty: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL) -> HRESULT, pub Collapse: unsafe extern "system" fn(_: *mut c_void, _: u32, _: TfAnchor) -> HRESULT, pub IsEqualStart: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: TfAnchor, _: *mut BOOL) -> HRESULT, pub IsEqualEnd: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: TfAnchor, _: *mut BOOL) -> HRESULT, pub CompareStart: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: TfAnchor, _: *mut i32) -> HRESULT, pub CompareEnd: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: TfAnchor, _: *mut i32) -> HRESULT, pub AdjustForInsert: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut BOOL) -> HRESULT, pub GetGravity: unsafe extern "system" fn(_: *mut c_void, _: *mut TfGravity, _: *mut TfGravity) -> HRESULT, pub SetGravity: unsafe extern "system" fn(_: *mut c_void, _: u32, _: TfGravity, _: TfGravity) -> HRESULT, pub Clone: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetContext: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§GetText: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: PWSTR, _: u32, _: *mut u32) -> HRESULT§SetText: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: PCWSTR, _: i32) -> HRESULT§GetFormattedText: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT§GetEmbedded: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const GUID, _: *const GUID, _: *mut *mut c_void) -> HRESULT§InsertEmbedded: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut c_void) -> HRESULT§ShiftStart: unsafe extern "system" fn(_: *mut c_void, _: u32, _: i32, _: *mut i32, _: *const TF_HALTCOND) -> HRESULT§ShiftEnd: unsafe extern "system" fn(_: *mut c_void, _: u32, _: i32, _: *mut i32, _: *const TF_HALTCOND) -> HRESULT§ShiftStartToRange: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: TfAnchor) -> HRESULT§ShiftEndToRange: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: TfAnchor) -> HRESULT§ShiftStartRegion: unsafe extern "system" fn(_: *mut c_void, _: u32, _: TfShiftDir, _: *mut BOOL) -> HRESULT§ShiftEndRegion: unsafe extern "system" fn(_: *mut c_void, _: u32, _: TfShiftDir, _: *mut BOOL) -> HRESULT§IsEmpty: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL) -> HRESULT§Collapse: unsafe extern "system" fn(_: *mut c_void, _: u32, _: TfAnchor) -> HRESULT§IsEqualStart: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: TfAnchor, _: *mut BOOL) -> HRESULT§IsEqualEnd: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: TfAnchor, _: *mut BOOL) -> HRESULT§CompareStart: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: TfAnchor, _: *mut i32) -> HRESULT§CompareEnd: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: TfAnchor, _: *mut i32) -> HRESULT§AdjustForInsert: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut BOOL) -> HRESULT§GetGravity: unsafe extern "system" fn(_: *mut c_void, _: *mut TfGravity, _: *mut TfGravity) -> HRESULT§SetGravity: unsafe extern "system" fn(_: *mut c_void, _: u32, _: TfGravity, _: TfGravity) -> HRESULT§Clone: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetContext: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT

Implementations§

§

impl ITfRange_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> ITfRange_Vtbl
where Identity: ITfRange_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.