Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Controller2 [−][src]
#[repr(transparent)]pub struct ICoreWebView2Controller2(_);Implementations
pub unsafe fn add_ZoomFactorChanged<'a>(
&self,
eventhandler: impl IntoParam<'a, ICoreWebView2ZoomFactorChangedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_ZoomFactorChanged<'a>(
&self,
token: impl IntoParam<'a, EventRegistrationToken>
) -> Result<()>
pub unsafe fn SetBoundsAndZoomFactor<'a>(
&self,
bounds: impl IntoParam<'a, RECT>,
zoomfactor: f64
) -> Result<()>
pub unsafe fn add_MoveFocusRequested<'a>(
&self,
eventhandler: impl IntoParam<'a, ICoreWebView2MoveFocusRequestedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_MoveFocusRequested<'a>(
&self,
token: impl IntoParam<'a, EventRegistrationToken>
) -> Result<()>
pub unsafe fn add_GotFocus<'a>(
&self,
eventhandler: impl IntoParam<'a, ICoreWebView2FocusChangedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_GotFocus<'a>(
&self,
token: impl IntoParam<'a, EventRegistrationToken>
) -> Result<()>
pub unsafe fn add_LostFocus<'a>(
&self,
eventhandler: impl IntoParam<'a, ICoreWebView2FocusChangedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_LostFocus<'a>(
&self,
token: impl IntoParam<'a, EventRegistrationToken>
) -> Result<()>
pub unsafe fn add_AcceleratorKeyPressed<'a>(
&self,
eventhandler: impl IntoParam<'a, ICoreWebView2AcceleratorKeyPressedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_AcceleratorKeyPressed<'a>(
&self,
token: impl IntoParam<'a, EventRegistrationToken>
) -> Result<()>
pub unsafe fn put_ParentWindow<'a>(
&self,
parentwindow: impl IntoParam<'a, HWND>
) -> Result<()>
pub unsafe fn get_DefaultBackgroundColor(
&self,
backgroundcolor: *mut COREWEBVIEW2_COLOR
) -> Result<()>
pub unsafe fn put_DefaultBackgroundColor<'a>(
&self,
backgroundcolor: impl IntoParam<'a, COREWEBVIEW2_COLOR>
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
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
type DefaultType = Option<T>
Converts from Self::DefaultType to Result<T>.
Returns a pointer for setting the object’s value via an ABI call.
Mutably borrows from an owned value. Read more