Struct ITextDocument_Vtbl
#[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 *mut c_void) -> 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, _: *mut c_void) -> 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 *mut c_void) -> 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, _: *mut c_void) -> HRESULT
§Undo: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
Implementations§
§impl ITextDocument_Vtbl
impl ITextDocument_Vtbl
pub const fn new<Identity: ITextDocument_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ITextDocument_Vtbl
impl RefUnwindSafe for ITextDocument_Vtbl
impl Send for ITextDocument_Vtbl
impl Sync for ITextDocument_Vtbl
impl Unpin for ITextDocument_Vtbl
impl UnwindSafe for ITextDocument_Vtbl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more