Struct windows::Win32::UI::TextServices::ITextStoreAnchor_Vtbl

#[repr(C)]
pub struct ITextStoreAnchor_Vtbl {
Show 28 fields pub base__: IUnknown_Vtbl, pub AdviseSink: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut c_void, _: u32) -> HRESULT, pub UnadviseSink: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub RequestLock: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut HRESULT) -> HRESULT, pub GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut TS_STATUS) -> HRESULT, pub QueryInsert: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut TS_SELECTION_ANCHOR, _: *mut u32) -> HRESULT, pub SetSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const TS_SELECTION_ANCHOR) -> HRESULT, pub GetText: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: *mut c_void, _: PWSTR, _: u32, _: *mut u32, _: BOOL) -> HRESULT, pub SetText: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: *mut c_void, _: PCWSTR, _: u32) -> HRESULT, pub GetFormattedText: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetEmbedded: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: *const GUID, _: *const GUID, _: *mut *mut c_void) -> HRESULT, pub InsertEmbedded: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT, pub RequestSupportedAttrs: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const GUID) -> HRESULT, pub RequestAttrsAtPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const GUID, _: u32) -> HRESULT, pub RequestAttrsTransitioningAtPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const GUID, _: u32) -> HRESULT, pub FindNextAttrTransition: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: u32, _: *const GUID, _: u32, _: *mut BOOL, _: *mut i32) -> HRESULT, pub RetrieveRequestedAttrs: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut TS_ATTRVAL, _: *mut u32) -> HRESULT, pub GetStart: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetEnd: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetActiveView: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub GetAnchorFromPoint: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const POINT, _: u32, _: *mut *mut c_void) -> HRESULT, pub GetTextExt: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: *mut c_void, _: *mut RECT, _: *mut BOOL) -> HRESULT, pub GetScreenExt: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut RECT) -> HRESULT, pub GetWnd: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut HWND) -> HRESULT, pub QueryInsertEmbedded: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const FORMATETC, _: *mut BOOL) -> HRESULT, pub InsertTextAtSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: u32, _: *mut *mut c_void, _: *mut *mut c_void) -> HRESULT, pub InsertEmbeddedAtSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: *mut *mut c_void, _: *mut *mut c_void) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§AdviseSink: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut c_void, _: u32) -> HRESULT§UnadviseSink: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§RequestLock: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut HRESULT) -> HRESULT§GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut TS_STATUS) -> HRESULT§QueryInsert: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut *mut c_void) -> HRESULT§GetSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut TS_SELECTION_ANCHOR, _: *mut u32) -> HRESULT§SetSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const TS_SELECTION_ANCHOR) -> HRESULT§GetText: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: *mut c_void, _: PWSTR, _: u32, _: *mut u32, _: BOOL) -> HRESULT§SetText: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: *mut c_void, _: PCWSTR, _: u32) -> HRESULT§GetFormattedText: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetEmbedded: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: *const GUID, _: *const GUID, _: *mut *mut c_void) -> HRESULT§InsertEmbedded: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT§RequestSupportedAttrs: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const GUID) -> HRESULT§RequestAttrsAtPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const GUID, _: u32) -> HRESULT§RequestAttrsTransitioningAtPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const GUID, _: u32) -> HRESULT§FindNextAttrTransition: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: u32, _: *const GUID, _: u32, _: *mut BOOL, _: *mut i32) -> HRESULT§RetrieveRequestedAttrs: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut TS_ATTRVAL, _: *mut u32) -> HRESULT§GetStart: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetEnd: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetActiveView: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§GetAnchorFromPoint: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const POINT, _: u32, _: *mut *mut c_void) -> HRESULT§GetTextExt: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: *mut c_void, _: *mut RECT, _: *mut BOOL) -> HRESULT§GetScreenExt: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut RECT) -> HRESULT§GetWnd: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut HWND) -> HRESULT§QueryInsertEmbedded: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const FORMATETC, _: *mut BOOL) -> HRESULT§InsertTextAtSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: u32, _: *mut *mut c_void, _: *mut *mut c_void) -> HRESULT§InsertEmbeddedAtSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: *mut *mut c_void, _: *mut *mut c_void) -> HRESULT

Implementations§

§

impl ITextStoreAnchor_Vtbl

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