Struct windows::Win32::UI::Controls::RichEdit::ITextDocument2_Vtbl

#[repr(C)]
pub struct ITextDocument2_Vtbl {
Show 45 fields pub base__: ITextDocument_Vtbl, pub GetCaretType: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetCaretType: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub GetDisplays: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetDocumentFont: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SetDocumentFont: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub GetDocumentPara: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SetDocumentPara: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub GetEastAsianFlags: unsafe extern "system" fn(_: *mut c_void, _: *mut tomConstants) -> HRESULT, pub GetGenerator: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetIMEInProgress: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub GetNotificationMode: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetNotificationMode: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub GetSelection2: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetStoryRanges2: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetTypographyOptions: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub GetVersion: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub GetWindow: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT, pub AttachMsgFilter: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub CheckTextLimit: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *const i32) -> HRESULT, pub GetCallManager: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetClientRect: unsafe extern "system" fn(_: *mut c_void, _: tomConstants, _: *mut i32, _: *mut i32, _: *mut i32, _: *mut i32) -> HRESULT, pub GetEffectColor: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut i32) -> HRESULT, pub GetImmContext: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT, pub GetPreferredFont: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: i32, _: i32, _: i32, _: *mut MaybeUninit<BSTR>, _: *mut i32, _: *mut i32) -> HRESULT, pub GetProperty: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut i32) -> HRESULT, pub GetStrings: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub Notify: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub Range2: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut *mut c_void) -> HRESULT, pub RangeFromPoint2: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: i32, _: *mut *mut c_void) -> HRESULT, pub ReleaseCallManager: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub ReleaseImmContext: unsafe extern "system" fn(_: *mut c_void, _: i64) -> HRESULT, pub SetEffectColor: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT, pub SetProperty: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT, pub SetTypographyOptions: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT, pub SysBeep: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Update: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub UpdateWindow: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub GetMathProperties: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetMathProperties: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT, pub GetActiveStory: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SetActiveStory: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub GetMainStory: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetNewStory: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetStory: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut *mut c_void) -> HRESULT,
}

Fields§

§base__: ITextDocument_Vtbl§GetCaretType: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetCaretType: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§GetDisplays: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetDocumentFont: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SetDocumentFont: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§GetDocumentPara: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SetDocumentPara: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§GetEastAsianFlags: unsafe extern "system" fn(_: *mut c_void, _: *mut tomConstants) -> HRESULT§GetGenerator: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetIMEInProgress: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§GetNotificationMode: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetNotificationMode: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§GetSelection2: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetStoryRanges2: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetTypographyOptions: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§GetVersion: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§GetWindow: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT§AttachMsgFilter: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§CheckTextLimit: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *const i32) -> HRESULT§GetCallManager: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetClientRect: unsafe extern "system" fn(_: *mut c_void, _: tomConstants, _: *mut i32, _: *mut i32, _: *mut i32, _: *mut i32) -> HRESULT§GetEffectColor: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut i32) -> HRESULT§GetImmContext: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT§GetPreferredFont: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: i32, _: i32, _: i32, _: *mut MaybeUninit<BSTR>, _: *mut i32, _: *mut i32) -> HRESULT§GetProperty: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut i32) -> HRESULT§GetStrings: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§Notify: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§Range2: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut *mut c_void) -> HRESULT§RangeFromPoint2: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: i32, _: *mut *mut c_void) -> HRESULT§ReleaseCallManager: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§ReleaseImmContext: unsafe extern "system" fn(_: *mut c_void, _: i64) -> HRESULT§SetEffectColor: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT§SetProperty: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT§SetTypographyOptions: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT§SysBeep: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Update: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§UpdateWindow: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§GetMathProperties: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetMathProperties: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT§GetActiveStory: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SetActiveStory: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§GetMainStory: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetNewStory: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetStory: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut *mut c_void) -> HRESULT

Implementations§

§

impl ITextDocument2_Vtbl

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