Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2PointerInfo
source · pub struct ICoreWebView2PointerInfo(/* private fields */);
Implementations§
source§impl ICoreWebView2PointerInfo
impl ICoreWebView2PointerInfo
pub unsafe fn PointerKind(&self, pointerkind: *mut u32) -> Result<(), Error>
pub unsafe fn SetPointerKind(&self, pointerkind: u32) -> Result<(), Error>
pub unsafe fn PointerId(&self, pointerid: *mut u32) -> Result<(), Error>
pub unsafe fn SetPointerId(&self, pointerid: u32) -> Result<(), Error>
pub unsafe fn FrameId(&self, frameid: *mut u32) -> Result<(), Error>
pub unsafe fn SetFrameId(&self, frameid: u32) -> Result<(), Error>
pub unsafe fn PointerFlags(&self, pointerflags: *mut u32) -> Result<(), Error>
pub unsafe fn SetPointerFlags(&self, pointerflags: u32) -> Result<(), Error>
pub unsafe fn PointerDeviceRect( &self, pointerdevicerect: *mut RECT, ) -> Result<(), Error>
pub unsafe fn SetPointerDeviceRect( &self, pointerdevicerect: RECT, ) -> Result<(), Error>
pub unsafe fn DisplayRect(&self, displayrect: *mut RECT) -> Result<(), Error>
pub unsafe fn SetDisplayRect(&self, displayrect: RECT) -> Result<(), Error>
pub unsafe fn PixelLocation( &self, pixellocation: *mut POINT, ) -> Result<(), Error>
pub unsafe fn SetPixelLocation(&self, pixellocation: POINT) -> Result<(), Error>
pub unsafe fn HimetricLocation( &self, himetriclocation: *mut POINT, ) -> Result<(), Error>
pub unsafe fn SetHimetricLocation( &self, himetriclocation: POINT, ) -> Result<(), Error>
pub unsafe fn PixelLocationRaw( &self, pixellocationraw: *mut POINT, ) -> Result<(), Error>
pub unsafe fn SetPixelLocationRaw( &self, pixellocationraw: POINT, ) -> Result<(), Error>
pub unsafe fn HimetricLocationRaw( &self, himetriclocationraw: *mut POINT, ) -> Result<(), Error>
pub unsafe fn SetHimetricLocationRaw( &self, himetriclocationraw: POINT, ) -> Result<(), Error>
pub unsafe fn Time(&self, time: *mut u32) -> Result<(), Error>
pub unsafe fn SetTime(&self, time: u32) -> Result<(), Error>
pub unsafe fn HistoryCount(&self, historycount: *mut u32) -> Result<(), Error>
pub unsafe fn SetHistoryCount(&self, historycount: u32) -> Result<(), Error>
pub unsafe fn InputData(&self, inputdata: *mut i32) -> Result<(), Error>
pub unsafe fn SetInputData(&self, inputdata: i32) -> Result<(), Error>
pub unsafe fn KeyStates(&self, keystates: *mut u32) -> Result<(), Error>
pub unsafe fn SetKeyStates(&self, keystates: u32) -> Result<(), Error>
pub unsafe fn PerformanceCount( &self, performancecount: *mut u64, ) -> Result<(), Error>
pub unsafe fn SetPerformanceCount( &self, performancecount: u64, ) -> Result<(), Error>
pub unsafe fn ButtonChangeKind( &self, buttonchangekind: *mut i32, ) -> Result<(), Error>
pub unsafe fn SetButtonChangeKind( &self, buttonchangekind: i32, ) -> Result<(), Error>
pub unsafe fn PenFlags(&self, penflags: *mut u32) -> Result<(), Error>
pub unsafe fn SetPenFlags(&self, penflags: u32) -> Result<(), Error>
pub unsafe fn PenMask(&self, penmask: *mut u32) -> Result<(), Error>
pub unsafe fn SetPenMask(&self, penmask: u32) -> Result<(), Error>
pub unsafe fn PenPressure(&self, penpressure: *mut u32) -> Result<(), Error>
pub unsafe fn SetPenPressure(&self, penpressure: u32) -> Result<(), Error>
pub unsafe fn PenRotation(&self, penrotation: *mut u32) -> Result<(), Error>
pub unsafe fn SetPenRotation(&self, penrotation: u32) -> Result<(), Error>
pub unsafe fn PenTiltX(&self, pentiltx: *mut i32) -> Result<(), Error>
pub unsafe fn SetPenTiltX(&self, pentiltx: i32) -> Result<(), Error>
pub unsafe fn PenTiltY(&self, pentilty: *mut i32) -> Result<(), Error>
pub unsafe fn SetPenTiltY(&self, pentilty: i32) -> Result<(), Error>
pub unsafe fn TouchFlags(&self, touchflags: *mut u32) -> Result<(), Error>
pub unsafe fn SetTouchFlags(&self, touchflags: u32) -> Result<(), Error>
pub unsafe fn TouchMask(&self, touchmask: *mut u32) -> Result<(), Error>
pub unsafe fn SetTouchMask(&self, touchmask: u32) -> Result<(), Error>
pub unsafe fn TouchContact(&self, touchcontact: *mut RECT) -> Result<(), Error>
pub unsafe fn SetTouchContact(&self, touchcontact: RECT) -> Result<(), Error>
pub unsafe fn TouchContactRaw( &self, touchcontactraw: *mut RECT, ) -> Result<(), Error>
pub unsafe fn SetTouchContactRaw( &self, touchcontactraw: RECT, ) -> Result<(), Error>
pub unsafe fn TouchOrientation( &self, touchorientation: *mut u32, ) -> Result<(), Error>
pub unsafe fn SetTouchOrientation( &self, touchorientation: u32, ) -> Result<(), Error>
pub unsafe fn TouchPressure(&self, touchpressure: *mut u32) -> Result<(), Error>
pub unsafe fn SetTouchPressure(&self, touchpressure: u32) -> Result<(), Error>
Trait Implementations§
source§impl Clone for ICoreWebView2PointerInfo
impl Clone for ICoreWebView2PointerInfo
source§fn clone(&self) -> ICoreWebView2PointerInfo
fn clone(&self) -> ICoreWebView2PointerInfo
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 Debug for ICoreWebView2PointerInfo
impl Debug for ICoreWebView2PointerInfo
source§impl Deref for ICoreWebView2PointerInfo
impl Deref for ICoreWebView2PointerInfo
source§impl From<&ICoreWebView2PointerInfo> for &IUnknown
impl From<&ICoreWebView2PointerInfo> for &IUnknown
source§fn from(value: &ICoreWebView2PointerInfo) -> &IUnknown
fn from(value: &ICoreWebView2PointerInfo) -> &IUnknown
Converts to this type from the input type.
source§impl From<ICoreWebView2PointerInfo> for IUnknown
impl From<ICoreWebView2PointerInfo> for IUnknown
source§fn from(value: ICoreWebView2PointerInfo) -> IUnknown
fn from(value: ICoreWebView2PointerInfo) -> IUnknown
Converts to this type from the input type.
source§impl Interface for ICoreWebView2PointerInfo
impl Interface for ICoreWebView2PointerInfo
source§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.source§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
source§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read moresource§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>
This casts the given COM interface to [
&dyn Any
]. Read moresource§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read moresource§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read moresource§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a
Weak
reference to this object.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
Call
QueryInterface
on this interface Read moresource§fn to_ref(&self) -> InterfaceRef<'_, Self>
fn to_ref(&self) -> InterfaceRef<'_, Self>
Creates an
InterfaceRef
for this reference. The InterfaceRef
tracks lifetimes statically,
and eliminates the need for dynamic reference count adjustments (AddRef/Release).source§impl PartialEq for ICoreWebView2PointerInfo
impl PartialEq for ICoreWebView2PointerInfo
impl Eq for ICoreWebView2PointerInfo
impl StructuralPartialEq for ICoreWebView2PointerInfo
Auto Trait Implementations§
impl Freeze for ICoreWebView2PointerInfo
impl RefUnwindSafe for ICoreWebView2PointerInfo
impl !Send for ICoreWebView2PointerInfo
impl !Sync for ICoreWebView2PointerInfo
impl Unpin for ICoreWebView2PointerInfo
impl UnwindSafe for ICoreWebView2PointerInfo
Blanket Implementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)