pub struct ICoreWebView2CompositionController2(/* private fields */);
Implementations§
Source§impl ICoreWebView2CompositionController2
impl ICoreWebView2CompositionController2
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<()>
pub unsafe fn get_UIAProvider(&self) -> Result<IUnknown>
Trait Implementations§
Source§impl Clone for ICoreWebView2CompositionController2
impl Clone for ICoreWebView2CompositionController2
Source§fn clone(&self) -> ICoreWebView2CompositionController2
fn clone(&self) -> ICoreWebView2CompositionController2
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<&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<&ICoreWebView2CompositionController2> for IUnknown
impl From<&ICoreWebView2CompositionController2> for IUnknown
Source§fn from(value: &ICoreWebView2CompositionController2) -> Self
fn from(value: &ICoreWebView2CompositionController2) -> 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<ICoreWebView2CompositionController2> for IUnknown
impl From<ICoreWebView2CompositionController2> for IUnknown
Source§fn from(value: ICoreWebView2CompositionController2) -> Self
fn from(value: ICoreWebView2CompositionController2) -> Self
Converts to this type from the input type.
Source§impl Interface for ICoreWebView2CompositionController2
impl Interface for ICoreWebView2CompositionController2
const IID: Guid
type Vtable = ICoreWebView2CompositionController2_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 ICoreWebView2CompositionController2
impl PartialEq for ICoreWebView2CompositionController2
Source§fn eq(&self, other: &ICoreWebView2CompositionController2) -> bool
fn eq(&self, other: &ICoreWebView2CompositionController2) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for ICoreWebView2CompositionController2
impl StructuralPartialEq for ICoreWebView2CompositionController2
Auto Trait Implementations§
impl Freeze for ICoreWebView2CompositionController2
impl RefUnwindSafe for ICoreWebView2CompositionController2
impl !Send for ICoreWebView2CompositionController2
impl !Sync for ICoreWebView2CompositionController2
impl Unpin for ICoreWebView2CompositionController2
impl UnwindSafe for ICoreWebView2CompositionController2
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