pub trait ICoreWebView2CompositionController_Impl: Sized {
    // Required methods
    fn RootVisualTarget(&self) -> Result<IUnknown, Error>;
    fn SetRootVisualTarget(
        &self,
        target: Option<&IUnknown>,
    ) -> Result<(), Error>;
    fn SendMouseInput(
        &self,
        eventkind: COREWEBVIEW2_MOUSE_EVENT_KIND,
        virtualkeys: COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS,
        mousedata: u32,
        point: &POINT,
    ) -> Result<(), Error>;
    fn SendPointerInput(
        &self,
        eventkind: COREWEBVIEW2_POINTER_EVENT_KIND,
        pointerinfo: Option<&ICoreWebView2PointerInfo>,
    ) -> Result<(), Error>;
    fn Cursor(&self, cursor: *mut HCURSOR) -> Result<(), Error>;
    fn SystemCursorId(&self, systemcursorid: *mut u32) -> Result<(), Error>;
    fn add_CursorChanged(
        &self,
        eventhandler: Option<&ICoreWebView2CursorChangedEventHandler>,
        token: *mut EventRegistrationToken,
    ) -> Result<(), Error>;
    fn remove_CursorChanged(
        &self,
        token: &EventRegistrationToken,
    ) -> Result<(), Error>;
}

Required Methods§

source

fn RootVisualTarget(&self) -> Result<IUnknown, Error>

source

fn SetRootVisualTarget(&self, target: Option<&IUnknown>) -> Result<(), Error>

source

fn SendMouseInput( &self, eventkind: COREWEBVIEW2_MOUSE_EVENT_KIND, virtualkeys: COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS, mousedata: u32, point: &POINT, ) -> Result<(), Error>

source

fn SendPointerInput( &self, eventkind: COREWEBVIEW2_POINTER_EVENT_KIND, pointerinfo: Option<&ICoreWebView2PointerInfo>, ) -> Result<(), Error>

source

fn Cursor(&self, cursor: *mut HCURSOR) -> Result<(), Error>

source

fn SystemCursorId(&self, systemcursorid: *mut u32) -> Result<(), Error>

source

fn add_CursorChanged( &self, eventhandler: Option<&ICoreWebView2CursorChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>

source

fn remove_CursorChanged( &self, token: &EventRegistrationToken, ) -> Result<(), Error>

Object Safety§

This trait is not object safe.

Implementors§