windows::Win32::UI::Controls::RichEdit

Trait ITextServices2_Impl

pub trait ITextServices2_Impl: ITextServices_Impl {
    // Required methods
    fn TxGetNaturalSize2(
        &self,
        dwaspect: u32,
        hdcdraw: HDC,
        hictargetdev: HDC,
        ptd: *mut DVTARGETDEVICE,
        dwmode: u32,
        psizelextent: *const SIZE,
        pwidth: *mut i32,
        pheight: *mut i32,
        pascent: *mut i32,
    ) -> Result<()>;
    fn TxDrawD2D(
        &self,
        prendertarget: Ref<'_, ID2D1RenderTarget>,
        lprcbounds: *mut RECTL,
        lprcupdate: *mut RECT,
        lviewid: i32,
    ) -> Result<()>;
}

Required Methods§

fn TxGetNaturalSize2( &self, dwaspect: u32, hdcdraw: HDC, hictargetdev: HDC, ptd: *mut DVTARGETDEVICE, dwmode: u32, psizelextent: *const SIZE, pwidth: *mut i32, pheight: *mut i32, pascent: *mut i32, ) -> Result<()>

fn TxDrawD2D( &self, prendertarget: Ref<'_, ID2D1RenderTarget>, lprcbounds: *mut RECTL, lprcupdate: *mut RECT, lviewid: i32, ) -> 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§