Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Controller4
source · #[repr(transparent)]pub struct ICoreWebView2Controller4(_);
Implementations§
source§impl ICoreWebView2Controller4
impl ICoreWebView2Controller4
pub unsafe fn IsVisible(&self, isvisible: *mut BOOL) -> Result<(), Error>
pub unsafe fn SetIsVisible<P0>(&self, isvisible: P0) -> Result<(), Error>where P0: IntoParam<BOOL, <BOOL as TypeKind>::TypeKind>,
pub unsafe fn Bounds(&self, bounds: *mut RECT) -> Result<(), Error>
pub unsafe fn SetBounds(&self, bounds: RECT) -> Result<(), Error>
pub unsafe fn ZoomFactor(&self, zoomfactor: *mut f64) -> Result<(), Error>
pub unsafe fn SetZoomFactor(&self, zoomfactor: f64) -> Result<(), Error>
pub unsafe fn add_ZoomFactorChanged<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: IntoParam<ICoreWebView2ZoomFactorChangedEventHandler, <ICoreWebView2ZoomFactorChangedEventHandler as TypeKind>::TypeKind>,
pub unsafe fn remove_ZoomFactorChanged( &self, token: EventRegistrationToken ) -> Result<(), Error>
pub unsafe fn SetBoundsAndZoomFactor( &self, bounds: RECT, zoomfactor: f64 ) -> Result<(), Error>
pub unsafe fn MoveFocus( &self, reason: COREWEBVIEW2_MOVE_FOCUS_REASON ) -> Result<(), Error>
pub unsafe fn add_MoveFocusRequested<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: IntoParam<ICoreWebView2MoveFocusRequestedEventHandler, <ICoreWebView2MoveFocusRequestedEventHandler as TypeKind>::TypeKind>,
pub unsafe fn remove_MoveFocusRequested( &self, token: EventRegistrationToken ) -> Result<(), Error>
pub unsafe fn add_GotFocus<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: IntoParam<ICoreWebView2FocusChangedEventHandler, <ICoreWebView2FocusChangedEventHandler as TypeKind>::TypeKind>,
pub unsafe fn remove_GotFocus( &self, token: EventRegistrationToken ) -> Result<(), Error>
pub unsafe fn add_LostFocus<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: IntoParam<ICoreWebView2FocusChangedEventHandler, <ICoreWebView2FocusChangedEventHandler as TypeKind>::TypeKind>,
pub unsafe fn remove_LostFocus( &self, token: EventRegistrationToken ) -> Result<(), Error>
pub unsafe fn add_AcceleratorKeyPressed<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: IntoParam<ICoreWebView2AcceleratorKeyPressedEventHandler, <ICoreWebView2AcceleratorKeyPressedEventHandler as TypeKind>::TypeKind>,
pub unsafe fn remove_AcceleratorKeyPressed( &self, token: EventRegistrationToken ) -> Result<(), Error>
pub unsafe fn ParentWindow(&self, parentwindow: *mut HWND) -> Result<(), Error>
pub unsafe fn SetParentWindow<P0>(&self, parentwindow: P0) -> Result<(), Error>where P0: IntoParam<HWND, <HWND as TypeKind>::TypeKind>,
pub unsafe fn NotifyParentWindowPositionChanged(&self) -> Result<(), Error>
pub unsafe fn Close(&self) -> Result<(), Error>
pub unsafe fn CoreWebView2(&self) -> Result<ICoreWebView2, Error>
pub unsafe fn DefaultBackgroundColor( &self, backgroundcolor: *mut COREWEBVIEW2_COLOR ) -> Result<(), Error>
pub unsafe fn SetDefaultBackgroundColor( &self, backgroundcolor: COREWEBVIEW2_COLOR ) -> Result<(), Error>
pub unsafe fn RasterizationScale(&self, scale: *mut f64) -> Result<(), Error>
pub unsafe fn SetRasterizationScale(&self, scale: f64) -> Result<(), Error>
pub unsafe fn ShouldDetectMonitorScaleChanges( &self, value: *mut BOOL ) -> Result<(), Error>
pub unsafe fn SetShouldDetectMonitorScaleChanges<P0>( &self, value: P0 ) -> Result<(), Error>where P0: IntoParam<BOOL, <BOOL as TypeKind>::TypeKind>,
pub unsafe fn add_RasterizationScaleChanged<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: IntoParam<ICoreWebView2RasterizationScaleChangedEventHandler, <ICoreWebView2RasterizationScaleChangedEventHandler as TypeKind>::TypeKind>,
pub unsafe fn remove_RasterizationScaleChanged( &self, token: EventRegistrationToken ) -> Result<(), Error>
pub unsafe fn BoundsMode( &self, boundsmode: *mut COREWEBVIEW2_BOUNDS_MODE ) -> Result<(), Error>
pub unsafe fn SetBoundsMode( &self, boundsmode: COREWEBVIEW2_BOUNDS_MODE ) -> Result<(), Error>
pub unsafe fn AllowExternalDrop(&self, value: *mut BOOL) -> Result<(), Error>
pub unsafe fn SetAllowExternalDrop<P0>(&self, value: P0) -> Result<(), Error>where P0: IntoParam<BOOL, <BOOL as TypeKind>::TypeKind>,
Trait Implementations§
source§impl Clone for ICoreWebView2Controller4
impl Clone for ICoreWebView2Controller4
source§fn clone(&self) -> ICoreWebView2Controller4
fn clone(&self) -> ICoreWebView2Controller4
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 ComInterface for ICoreWebView2Controller4
impl ComInterface for ICoreWebView2Controller4
source§const IID: GUID = ::windows::core::GUID::from_u128(201814698001762633938785662070726753694)
const IID: GUID = ::windows::core::GUID::from_u128(201814698001762633938785662070726753694)
A unique identifier representing this interface.
source§impl Debug for ICoreWebView2Controller4
impl Debug for ICoreWebView2Controller4
source§impl Interface for ICoreWebView2Controller4
impl Interface for ICoreWebView2Controller4
type Vtable = ICoreWebView2Controller4_Vtbl
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§impl PartialEq<ICoreWebView2Controller4> for ICoreWebView2Controller4
impl PartialEq<ICoreWebView2Controller4> for ICoreWebView2Controller4
source§fn eq(&self, other: &ICoreWebView2Controller4) -> bool
fn eq(&self, other: &ICoreWebView2Controller4) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ICoreWebView2Controller4
Auto Trait Implementations§
impl RefUnwindSafe for ICoreWebView2Controller4
impl !Send for ICoreWebView2Controller4
impl !Sync for ICoreWebView2Controller4
impl Unpin for ICoreWebView2Controller4
impl UnwindSafe for ICoreWebView2Controller4
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