pub trait ICoreWebView2CompositionController_Impl: IUnknownImpl {
// Required methods
fn RootVisualTarget(&self) -> Result<IUnknown>;
fn SetRootVisualTarget(&self, target: Ref<'_, IUnknown>) -> Result<()>;
fn SendMouseInput(
&self,
eventkind: COREWEBVIEW2_MOUSE_EVENT_KIND,
virtualkeys: COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS,
mousedata: u32,
point: &POINT,
) -> Result<()>;
fn SendPointerInput(
&self,
eventkind: COREWEBVIEW2_POINTER_EVENT_KIND,
pointerinfo: Ref<'_, ICoreWebView2PointerInfo>,
) -> Result<()>;
fn Cursor(&self) -> Result<HCURSOR>;
fn SystemCursorId(&self) -> Result<u32>;
fn CursorChanged(
&self,
eventhandler: Ref<'_, ICoreWebView2CursorChangedEventHandler>,
) -> Result<i64>;
fn RemoveCursorChanged(&self, token: i64) -> Result<()>;
}Required Methods§
fn RootVisualTarget(&self) -> Result<IUnknown>
fn SetRootVisualTarget(&self, target: Ref<'_, IUnknown>) -> Result<()>
fn SendMouseInput( &self, eventkind: COREWEBVIEW2_MOUSE_EVENT_KIND, virtualkeys: COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS, mousedata: u32, point: &POINT, ) -> Result<()>
fn SendPointerInput( &self, eventkind: COREWEBVIEW2_POINTER_EVENT_KIND, pointerinfo: Ref<'_, ICoreWebView2PointerInfo>, ) -> Result<()>
fn Cursor(&self) -> Result<HCURSOR>
fn SystemCursorId(&self) -> Result<u32>
fn CursorChanged( &self, eventhandler: Ref<'_, ICoreWebView2CursorChangedEventHandler>, ) -> Result<i64>
fn RemoveCursorChanged(&self, token: i64) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".