Trait ITextDocument2Old_Impl
pub trait ITextDocument2Old_Impl: ITextDocument_Impl {
Show 24 methods
// Required methods
fn AttachMsgFilter(&self, pfilter: Ref<'_, IUnknown>) -> Result<()>;
fn SetEffectColor(&self, index: i32, cr: COLORREF) -> Result<()>;
fn GetEffectColor(&self, index: i32) -> Result<COLORREF>;
fn GetCaretType(&self) -> Result<i32>;
fn SetCaretType(&self, carettype: i32) -> Result<()>;
fn GetImmContext(&self) -> Result<i64>;
fn ReleaseImmContext(&self, context: i64) -> Result<()>;
fn GetPreferredFont(
&self,
cp: i32,
charrep: i32,
option: i32,
charrepcur: i32,
curfontsize: i32,
pbstr: *mut BSTR,
ppitchandfamily: *mut i32,
pnewfontsize: *mut i32,
) -> Result<()>;
fn GetNotificationMode(&self) -> Result<i32>;
fn SetNotificationMode(&self, mode: i32) -> Result<()>;
fn GetClientRect(
&self,
type: i32,
pleft: *mut i32,
ptop: *mut i32,
pright: *mut i32,
pbottom: *mut i32,
) -> Result<()>;
fn GetSelection2(&self) -> Result<ITextSelection>;
fn GetWindow(&self) -> Result<i32>;
fn GetFEFlags(&self) -> Result<i32>;
fn UpdateWindow(&self) -> Result<()>;
fn CheckTextLimit(&self, cch: i32, pcch: *const i32) -> Result<()>;
fn IMEInProgress(&self, value: i32) -> Result<()>;
fn SysBeep(&self) -> Result<()>;
fn Update(&self, mode: i32) -> Result<()>;
fn Notify(&self, notify: i32) -> Result<()>;
fn GetDocumentFont(&self) -> Result<ITextFont>;
fn GetDocumentPara(&self) -> Result<ITextPara>;
fn GetCallManager(&self) -> Result<IUnknown>;
fn ReleaseCallManager(&self, pvoid: Ref<'_, IUnknown>) -> Result<()>;
}
Required Methods§
fn AttachMsgFilter(&self, pfilter: Ref<'_, IUnknown>) -> Result<()>
fn SetEffectColor(&self, index: i32, cr: COLORREF) -> Result<()>
fn GetEffectColor(&self, index: i32) -> Result<COLORREF>
fn GetCaretType(&self) -> Result<i32>
fn SetCaretType(&self, carettype: i32) -> Result<()>
fn GetImmContext(&self) -> Result<i64>
fn ReleaseImmContext(&self, context: i64) -> Result<()>
fn GetPreferredFont( &self, cp: i32, charrep: i32, option: i32, charrepcur: i32, curfontsize: i32, pbstr: *mut BSTR, ppitchandfamily: *mut i32, pnewfontsize: *mut i32, ) -> Result<()>
fn GetNotificationMode(&self) -> Result<i32>
fn SetNotificationMode(&self, mode: i32) -> Result<()>
fn GetClientRect( &self, type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32, ) -> Result<()>
fn GetSelection2(&self) -> Result<ITextSelection>
fn GetWindow(&self) -> Result<i32>
fn GetFEFlags(&self) -> Result<i32>
fn UpdateWindow(&self) -> Result<()>
fn CheckTextLimit(&self, cch: i32, pcch: *const i32) -> Result<()>
fn IMEInProgress(&self, value: i32) -> Result<()>
fn SysBeep(&self) -> Result<()>
fn Update(&self, mode: i32) -> Result<()>
fn Notify(&self, notify: i32) -> Result<()>
fn GetDocumentFont(&self) -> Result<ITextFont>
fn GetDocumentPara(&self) -> Result<ITextPara>
fn GetCallManager(&self) -> Result<IUnknown>
fn ReleaseCallManager(&self, pvoid: Ref<'_, IUnknown>) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.