Struct windows::Win32::UI::TextServices::ITfContext_Vtbl

#[repr(C)]
pub struct ITfContext_Vtbl {
Show 16 fields pub base__: IUnknown_Vtbl, pub RequestEditSession: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: TF_CONTEXT_EDIT_CONTEXT_FLAGS, _: *mut HRESULT) -> HRESULT, pub InWriteSession: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL) -> HRESULT, pub GetSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: *mut TF_SELECTION, _: *mut u32) -> HRESULT, pub SetSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const TF_SELECTION) -> HRESULT, pub GetStart: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT, pub GetEnd: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT, pub GetActiveView: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub EnumViews: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut TS_STATUS) -> HRESULT, pub GetProperty: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT, pub GetAppProperty: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT, pub TrackProperties: unsafe extern "system" fn(_: *mut c_void, _: *const *const GUID, _: u32, _: *const *const GUID, _: u32, _: *mut *mut c_void) -> HRESULT, pub EnumProperties: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetDocumentMgr: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub CreateRangeBackup: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: *mut *mut c_void) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§RequestEditSession: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: TF_CONTEXT_EDIT_CONTEXT_FLAGS, _: *mut HRESULT) -> HRESULT§InWriteSession: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL) -> HRESULT§GetSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: *mut TF_SELECTION, _: *mut u32) -> HRESULT§SetSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const TF_SELECTION) -> HRESULT§GetStart: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT§GetEnd: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT§GetActiveView: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§EnumViews: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut TS_STATUS) -> HRESULT§GetProperty: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT§GetAppProperty: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT§TrackProperties: unsafe extern "system" fn(_: *mut c_void, _: *const *const GUID, _: u32, _: *const *const GUID, _: u32, _: *mut *mut c_void) -> HRESULT§EnumProperties: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetDocumentMgr: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§CreateRangeBackup: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: *mut *mut c_void) -> HRESULT

Implementations§

§

impl ITfContext_Vtbl

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