Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Controller2 [−][src]
#[repr(transparent)]pub struct ICoreWebView2Controller2(pub IUnknown);
Tuple Fields
0: IUnknown
Implementations
pub unsafe fn SetIsVisible<'a, Param0: IntoParam<'a, BOOL>>(
&self,
isvisible: Param0
) -> Result<()>
pub unsafe fn ZoomFactorChanged<'a, Param0: IntoParam<'a, ICoreWebView2ZoomFactorChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveZoomFactorChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn SetBoundsAndZoomFactor<'a, Param0: IntoParam<'a, RECT>>(
&self,
bounds: Param0,
zoomfactor: f64
) -> Result<()>
pub unsafe fn MoveFocusRequested<'a, Param0: IntoParam<'a, ICoreWebView2MoveFocusRequestedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveMoveFocusRequested<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn GotFocus<'a, Param0: IntoParam<'a, ICoreWebView2FocusChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveGotFocus<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn LostFocus<'a, Param0: IntoParam<'a, ICoreWebView2FocusChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveLostFocus<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn AcceleratorKeyPressed<'a, Param0: IntoParam<'a, ICoreWebView2AcceleratorKeyPressedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveAcceleratorKeyPressed<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn SetParentWindow<'a, Param0: IntoParam<'a, HWND>>(
&self,
parentwindow: Param0
) -> Result<()>
pub unsafe fn DefaultBackgroundColor(
&self,
backgroundcolor: *mut COREWEBVIEW2_COLOR
) -> Result<()>
pub unsafe fn SetDefaultBackgroundColor<'a, Param0: IntoParam<'a, COREWEBVIEW2_COLOR>>(
&self,
backgroundcolor: Param0
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2Controller2
impl !Send for ICoreWebView2Controller2
impl !Sync for ICoreWebView2Controller2
impl Unpin for ICoreWebView2Controller2
impl UnwindSafe for ICoreWebView2Controller2
Blanket Implementations
Mutably borrows from an owned value. Read more
type DefaultType = Option<T>
Safety