windows::Win32::System::Ole

Trait IViewObjectEx_Impl

pub trait IViewObjectEx_Impl: IViewObject2_Impl {
    // Required methods
    fn GetRect(&self, dwaspect: u32) -> Result<RECTL>;
    fn GetViewStatus(&self) -> Result<u32>;
    fn QueryHitPoint(
        &self,
        dwaspect: u32,
        prectbounds: *const RECT,
        ptlloc: &POINT,
        lclosehint: i32,
    ) -> Result<u32>;
    fn QueryHitRect(
        &self,
        dwaspect: u32,
        prectbounds: *const RECT,
        prectloc: *const RECT,
        lclosehint: i32,
    ) -> Result<u32>;
    fn GetNaturalExtent(
        &self,
        dwaspect: DVASPECT,
        lindex: i32,
        ptd: *const DVTARGETDEVICE,
        hictargetdev: HDC,
        pextentinfo: *const DVEXTENTINFO,
    ) -> Result<SIZE>;
}

Required Methods§

fn GetRect(&self, dwaspect: u32) -> Result<RECTL>

fn GetViewStatus(&self) -> Result<u32>

fn QueryHitPoint( &self, dwaspect: u32, prectbounds: *const RECT, ptlloc: &POINT, lclosehint: i32, ) -> Result<u32>

fn QueryHitRect( &self, dwaspect: u32, prectbounds: *const RECT, prectloc: *const RECT, lclosehint: i32, ) -> Result<u32>

fn GetNaturalExtent( &self, dwaspect: DVASPECT, lindex: i32, ptd: *const DVTARGETDEVICE, hictargetdev: HDC, pextentinfo: *const DVEXTENTINFO, ) -> Result<SIZE>

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§