pub struct ICoreWebView2CompositionController(/* private fields */);
Implementations§
Source§impl ICoreWebView2CompositionController
impl ICoreWebView2CompositionController
pub unsafe fn get_RootVisualTarget(&self) -> Result<IUnknown>
pub unsafe fn put_RootVisualTarget<'a>( &self, target: impl IntoParam<'a, IUnknown>, ) -> Result<()>
pub unsafe fn SendMouseInput<'a>( &self, eventkind: COREWEBVIEW2_MOUSE_EVENT_KIND, virtualkeys: COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS, mousedata: u32, point: impl IntoParam<'a, POINT>, ) -> Result<()>
pub unsafe fn SendPointerInput<'a>( &self, eventkind: COREWEBVIEW2_POINTER_EVENT_KIND, pointerinfo: impl IntoParam<'a, ICoreWebView2PointerInfo>, ) -> Result<()>
pub unsafe fn get_Cursor(&self, cursor: *mut HCURSOR) -> Result<()>
pub unsafe fn get_SystemCursorId(&self, systemcursorid: *mut u32) -> Result<()>
pub unsafe fn add_CursorChanged<'a>( &self, eventhandler: impl IntoParam<'a, ICoreWebView2CursorChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>
pub unsafe fn remove_CursorChanged<'a>( &self, token: impl IntoParam<'a, EventRegistrationToken>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for ICoreWebView2CompositionController
impl Clone for ICoreWebView2CompositionController
Source§fn clone(&self) -> ICoreWebView2CompositionController
fn clone(&self) -> ICoreWebView2CompositionController
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<&ICoreWebView2CompositionController> for IUnknown
impl From<&ICoreWebView2CompositionController> for IUnknown
Source§fn from(value: &ICoreWebView2CompositionController) -> Self
fn from(value: &ICoreWebView2CompositionController) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2CompositionController2> for ICoreWebView2CompositionController
impl From<&ICoreWebView2CompositionController2> for ICoreWebView2CompositionController
Source§fn from(value: &ICoreWebView2CompositionController2) -> Self
fn from(value: &ICoreWebView2CompositionController2) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2CompositionController> for IUnknown
impl From<ICoreWebView2CompositionController> for IUnknown
Source§fn from(value: ICoreWebView2CompositionController) -> Self
fn from(value: ICoreWebView2CompositionController) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2CompositionController2> for ICoreWebView2CompositionController
impl From<ICoreWebView2CompositionController2> for ICoreWebView2CompositionController
Source§fn from(value: ICoreWebView2CompositionController2) -> Self
fn from(value: ICoreWebView2CompositionController2) -> Self
Converts to this type from the input type.
Source§impl Interface for ICoreWebView2CompositionController
impl Interface for ICoreWebView2CompositionController
const IID: Guid
type Vtable = ICoreWebView2CompositionController_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for ICoreWebView2CompositionController
impl PartialEq for ICoreWebView2CompositionController
Source§fn eq(&self, other: &ICoreWebView2CompositionController) -> bool
fn eq(&self, other: &ICoreWebView2CompositionController) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for ICoreWebView2CompositionController
impl StructuralPartialEq for ICoreWebView2CompositionController
Auto Trait Implementations§
impl Freeze for ICoreWebView2CompositionController
impl RefUnwindSafe for ICoreWebView2CompositionController
impl !Send for ICoreWebView2CompositionController
impl !Sync for ICoreWebView2CompositionController
impl Unpin for ICoreWebView2CompositionController
impl UnwindSafe for ICoreWebView2CompositionController
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more