windows::Win32::UI::TextServices

Trait ITfContextView_Impl

pub trait ITfContextView_Impl: IUnknownImpl {
    // Required methods
    fn GetRangeFromPoint(
        &self,
        ec: u32,
        ppt: *const POINT,
        dwflags: u32,
    ) -> Result<ITfRange>;
    fn GetTextExt(
        &self,
        ec: u32,
        prange: Ref<'_, ITfRange>,
        prc: *mut RECT,
        pfclipped: *mut BOOL,
    ) -> Result<()>;
    fn GetScreenExt(&self) -> Result<RECT>;
    fn GetWnd(&self) -> Result<HWND>;
}

Required Methods§

fn GetRangeFromPoint( &self, ec: u32, ppt: *const POINT, dwflags: u32, ) -> Result<ITfRange>

fn GetTextExt( &self, ec: u32, prange: Ref<'_, ITfRange>, prc: *mut RECT, pfclipped: *mut BOOL, ) -> Result<()>

fn GetScreenExt(&self) -> Result<RECT>

fn GetWnd(&self) -> Result<HWND>

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§