windows::Win32::UI::TextServices

Trait ITfContextOwnerServices_Impl

pub trait ITfContextOwnerServices_Impl: IUnknownImpl {
    // Required methods
    fn OnLayoutChange(&self) -> Result<()>;
    fn OnStatusChange(&self, dwflags: u32) -> Result<()>;
    fn OnAttributeChange(&self, rguidattribute: *const GUID) -> Result<()>;
    fn Serialize(
        &self,
        pprop: Ref<'_, ITfProperty>,
        prange: Ref<'_, ITfRange>,
        phdr: *mut TF_PERSISTENT_PROPERTY_HEADER_ACP,
        pstream: Ref<'_, IStream>,
    ) -> Result<()>;
    fn Unserialize(
        &self,
        pprop: Ref<'_, ITfProperty>,
        phdr: *const TF_PERSISTENT_PROPERTY_HEADER_ACP,
        pstream: Ref<'_, IStream>,
        ploader: Ref<'_, ITfPersistentPropertyLoaderACP>,
    ) -> Result<()>;
    fn ForceLoadProperty(&self, pprop: Ref<'_, ITfProperty>) -> Result<()>;
    fn CreateRange(&self, acpstart: i32, acpend: i32) -> Result<ITfRangeACP>;
}

Required Methods§

fn OnLayoutChange(&self) -> Result<()>

fn OnStatusChange(&self, dwflags: u32) -> Result<()>

fn OnAttributeChange(&self, rguidattribute: *const GUID) -> Result<()>

fn Serialize( &self, pprop: Ref<'_, ITfProperty>, prange: Ref<'_, ITfRange>, phdr: *mut TF_PERSISTENT_PROPERTY_HEADER_ACP, pstream: Ref<'_, IStream>, ) -> Result<()>

fn Unserialize( &self, pprop: Ref<'_, ITfProperty>, phdr: *const TF_PERSISTENT_PROPERTY_HEADER_ACP, pstream: Ref<'_, IStream>, ploader: Ref<'_, ITfPersistentPropertyLoaderACP>, ) -> Result<()>

fn ForceLoadProperty(&self, pprop: Ref<'_, ITfProperty>) -> Result<()>

fn CreateRange(&self, acpstart: i32, acpend: i32) -> Result<ITfRangeACP>

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§