windows::Win32::UI::TextServices

Trait ITfThreadMgrEventSink_Impl

pub trait ITfThreadMgrEventSink_Impl: IUnknownImpl {
    // Required methods
    fn OnInitDocumentMgr(&self, pdim: Ref<'_, ITfDocumentMgr>) -> Result<()>;
    fn OnUninitDocumentMgr(&self, pdim: Ref<'_, ITfDocumentMgr>) -> Result<()>;
    fn OnSetFocus(
        &self,
        pdimfocus: Ref<'_, ITfDocumentMgr>,
        pdimprevfocus: Ref<'_, ITfDocumentMgr>,
    ) -> Result<()>;
    fn OnPushContext(&self, pic: Ref<'_, ITfContext>) -> Result<()>;
    fn OnPopContext(&self, pic: Ref<'_, ITfContext>) -> Result<()>;
}

Required Methods§

fn OnInitDocumentMgr(&self, pdim: Ref<'_, ITfDocumentMgr>) -> Result<()>

fn OnUninitDocumentMgr(&self, pdim: Ref<'_, ITfDocumentMgr>) -> Result<()>

fn OnSetFocus( &self, pdimfocus: Ref<'_, ITfDocumentMgr>, pdimprevfocus: Ref<'_, ITfDocumentMgr>, ) -> Result<()>

fn OnPushContext(&self, pic: Ref<'_, ITfContext>) -> Result<()>

fn OnPopContext(&self, pic: Ref<'_, ITfContext>) -> 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.

Implementors§