Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Controller
source · [−]#[repr(transparent)]pub struct ICoreWebView2Controller(_);
Implementations
sourceimpl ICoreWebView2Controller
impl ICoreWebView2Controller
pub unsafe fn IsVisible(&self, isvisible: *mut BOOL) -> Result<(), Error>
pub unsafe fn SetIsVisible<'a, Param0>(
&self,
isvisible: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, BOOL>,
pub unsafe fn Bounds(&self, bounds: *mut RECT) -> Result<(), Error>
pub unsafe fn SetBounds<'a, Param0>(&self, bounds: Param0) -> Result<(), Error> where
Param0: IntoParam<'a, RECT>,
pub unsafe fn ZoomFactor(&self, zoomfactor: *mut f64) -> Result<(), Error>
pub unsafe fn SetZoomFactor(&self, zoomfactor: f64) -> Result<(), Error>
pub unsafe fn add_ZoomFactorChanged<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2ZoomFactorChangedEventHandler>,
pub unsafe fn remove_ZoomFactorChanged<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn SetBoundsAndZoomFactor<'a, Param0>(
&self,
bounds: Param0,
zoomfactor: f64
) -> Result<(), Error> where
Param0: IntoParam<'a, RECT>,
pub unsafe fn MoveFocus(
&self,
reason: COREWEBVIEW2_MOVE_FOCUS_REASON
) -> Result<(), Error>
pub unsafe fn add_MoveFocusRequested<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2MoveFocusRequestedEventHandler>,
pub unsafe fn remove_MoveFocusRequested<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn add_GotFocus<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2FocusChangedEventHandler>,
pub unsafe fn remove_GotFocus<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn add_LostFocus<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2FocusChangedEventHandler>,
pub unsafe fn remove_LostFocus<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn add_AcceleratorKeyPressed<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2AcceleratorKeyPressedEventHandler>,
pub unsafe fn remove_AcceleratorKeyPressed<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn ParentWindow(&self, parentwindow: *mut HWND) -> Result<(), Error>
pub unsafe fn SetParentWindow<'a, Param0>(
&self,
parentwindow: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, HWND>,
pub unsafe fn NotifyParentWindowPositionChanged(&self) -> Result<(), Error>
pub unsafe fn Close(&self) -> Result<(), Error>
pub unsafe fn CoreWebView2(&self) -> Result<ICoreWebView2, Error>
Trait Implementations
sourceimpl Clone for ICoreWebView2Controller
impl Clone for ICoreWebView2Controller
sourcefn clone(&self) -> ICoreWebView2Controller
fn clone(&self) -> ICoreWebView2Controller
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ICoreWebView2Controller
impl Debug for ICoreWebView2Controller
sourceimpl<'_> From<&'_ ICoreWebView2Controller2> for ICoreWebView2Controller
impl<'_> From<&'_ ICoreWebView2Controller2> for ICoreWebView2Controller
sourcefn from(value: &ICoreWebView2Controller2) -> ICoreWebView2Controller
fn from(value: &ICoreWebView2Controller2) -> ICoreWebView2Controller
Converts to this type from the input type.
sourceimpl<'_> From<&'_ ICoreWebView2Controller3> for ICoreWebView2Controller
impl<'_> From<&'_ ICoreWebView2Controller3> for ICoreWebView2Controller
sourcefn from(value: &ICoreWebView2Controller3) -> ICoreWebView2Controller
fn from(value: &ICoreWebView2Controller3) -> ICoreWebView2Controller
Converts to this type from the input type.
sourceimpl<'_> From<&'_ ICoreWebView2Controller4> for ICoreWebView2Controller
impl<'_> From<&'_ ICoreWebView2Controller4> for ICoreWebView2Controller
sourcefn from(value: &ICoreWebView2Controller4) -> ICoreWebView2Controller
fn from(value: &ICoreWebView2Controller4) -> ICoreWebView2Controller
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Controller2> for ICoreWebView2Controller
impl From<ICoreWebView2Controller2> for ICoreWebView2Controller
sourcefn from(value: ICoreWebView2Controller2) -> ICoreWebView2Controller
fn from(value: ICoreWebView2Controller2) -> ICoreWebView2Controller
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Controller3> for ICoreWebView2Controller
impl From<ICoreWebView2Controller3> for ICoreWebView2Controller
sourcefn from(value: ICoreWebView2Controller3) -> ICoreWebView2Controller
fn from(value: ICoreWebView2Controller3) -> ICoreWebView2Controller
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Controller4> for ICoreWebView2Controller
impl From<ICoreWebView2Controller4> for ICoreWebView2Controller
sourcefn from(value: ICoreWebView2Controller4) -> ICoreWebView2Controller
fn from(value: ICoreWebView2Controller4) -> ICoreWebView2Controller
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2Controller
impl Interface for ICoreWebView2Controller
sourceconst IID: GUID = ::windows::core::GUID::from_u128(102354466502635406122890511720269230927)
const IID: GUID = ::windows::core::GUID::from_u128(102354466502635406122890511720269230927)
A unique identifier representing this interface.
sourceimpl RuntimeName for ICoreWebView2Controller
impl RuntimeName for ICoreWebView2Controller
impl Eq for ICoreWebView2Controller
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2Controller
impl !Send for ICoreWebView2Controller
impl !Sync for ICoreWebView2Controller
impl Unpin for ICoreWebView2Controller
impl UnwindSafe for ICoreWebView2Controller
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more