#[repr(C)]
pub struct ITextDocument_Vtbl {
Show 28 fields pub base__: IInspectable_Vtbl, pub CaretType: unsafe extern "system" fn(_: *mut c_void, _: *mut CaretType) -> HRESULT, pub SetCaretType: unsafe extern "system" fn(_: *mut c_void, _: CaretType) -> HRESULT, pub DefaultTabStop: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT, pub SetDefaultTabStop: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT, pub Selection: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub UndoLimit: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub SetUndoLimit: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub CanCopy: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub CanPaste: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub CanRedo: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub CanUndo: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub ApplyDisplayUpdates: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub BatchDisplayUpdates: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub BeginUndoGroup: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub EndUndoGroup: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub GetDefaultCharacterFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetDefaultParagraphFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetRange: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut *mut c_void) -> HRESULT, pub GetRangeFromPoint: unsafe extern "system" fn(_: *mut c_void, _: Point, _: PointOptions, _: *mut *mut c_void) -> HRESULT, pub GetText: unsafe extern "system" fn(_: *mut c_void, _: TextGetOptions, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub LoadFromStream: unsafe extern "system" fn(_: *mut c_void, _: TextSetOptions, _: *mut c_void) -> HRESULT, pub Redo: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub SaveToStream: unsafe extern "system" fn(_: *mut c_void, _: TextGetOptions, _: *mut c_void) -> HRESULT, pub SetDefaultCharacterFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub SetDefaultParagraphFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub SetText: unsafe extern "system" fn(_: *mut c_void, _: TextSetOptions, _: MaybeUninit<HSTRING>) -> HRESULT, pub Undo: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
}

Fields§

§base__: IInspectable_Vtbl§CaretType: unsafe extern "system" fn(_: *mut c_void, _: *mut CaretType) -> HRESULT§SetCaretType: unsafe extern "system" fn(_: *mut c_void, _: CaretType) -> HRESULT§DefaultTabStop: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§SetDefaultTabStop: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT§Selection: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§UndoLimit: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§SetUndoLimit: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§CanCopy: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§CanPaste: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§CanRedo: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§CanUndo: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§ApplyDisplayUpdates: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§BatchDisplayUpdates: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§BeginUndoGroup: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§EndUndoGroup: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§GetDefaultCharacterFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetDefaultParagraphFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetRange: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut *mut c_void) -> HRESULT§GetRangeFromPoint: unsafe extern "system" fn(_: *mut c_void, _: Point, _: PointOptions, _: *mut *mut c_void) -> HRESULT§GetText: unsafe extern "system" fn(_: *mut c_void, _: TextGetOptions, _: *mut MaybeUninit<HSTRING>) -> HRESULT§LoadFromStream: unsafe extern "system" fn(_: *mut c_void, _: TextSetOptions, _: *mut c_void) -> HRESULT§Redo: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§SaveToStream: unsafe extern "system" fn(_: *mut c_void, _: TextGetOptions, _: *mut c_void) -> HRESULT§SetDefaultCharacterFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§SetDefaultParagraphFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§SetText: unsafe extern "system" fn(_: *mut c_void, _: TextSetOptions, _: MaybeUninit<HSTRING>) -> HRESULT§Undo: unsafe extern "system" fn(_: *mut c_void) -> HRESULT

Implementations§

§

impl ITextDocument_Vtbl

pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: ITextDocument_Impl, const OFFSET: isize>( ) -> ITextDocument_Vtbl

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.