windows::Win32::UI::Shell

Trait IPreviewHandler_Impl

pub trait IPreviewHandler_Impl: IUnknownImpl {
    // Required methods
    fn SetWindow(&self, hwnd: HWND, prc: *const RECT) -> Result<()>;
    fn SetRect(&self, prc: *const RECT) -> Result<()>;
    fn DoPreview(&self) -> Result<()>;
    fn Unload(&self) -> Result<()>;
    fn SetFocus(&self) -> Result<()>;
    fn QueryFocus(&self) -> Result<HWND>;
    fn TranslateAccelerator(&self, pmsg: *const MSG) -> Result<()>;
}

Required Methods§

fn SetWindow(&self, hwnd: HWND, prc: *const RECT) -> Result<()>

fn SetRect(&self, prc: *const RECT) -> Result<()>

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

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

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

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

fn TranslateAccelerator(&self, pmsg: *const MSG) -> 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§