Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Controller3
source · [−]#[repr(transparent)]pub struct ICoreWebView2Controller3(_);
Implementations
sourceimpl ICoreWebView2Controller3
impl ICoreWebView2Controller3
pub unsafe fn IsVisible(&self, isvisible: *mut BOOL) -> Result<(), Error>
pub unsafe fn SetIsVisible<P0>(&self, isvisible: P0) -> Result<(), Error> where
P0: Into<BOOL>,
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<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
P0: Into<InParam<'a, ICoreWebView2ZoomFactorChangedEventHandler>>,
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<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
P0: Into<InParam<'a, ICoreWebView2MoveFocusRequestedEventHandler>>,
pub unsafe fn remove_MoveFocusRequested(
&self,
token: EventRegistrationToken
) -> Result<(), Error>
pub unsafe fn add_GotFocus<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
P0: Into<InParam<'a, ICoreWebView2FocusChangedEventHandler>>,
pub unsafe fn remove_GotFocus(
&self,
token: EventRegistrationToken
) -> Result<(), Error>
pub unsafe fn add_LostFocus<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
P0: Into<InParam<'a, ICoreWebView2FocusChangedEventHandler>>,
pub unsafe fn remove_LostFocus(
&self,
token: EventRegistrationToken
) -> Result<(), Error>
pub unsafe fn add_AcceleratorKeyPressed<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
P0: Into<InParam<'a, ICoreWebView2AcceleratorKeyPressedEventHandler>>,
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: Into<HWND>,
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: Into<BOOL>,
pub unsafe fn add_RasterizationScaleChanged<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
P0: Into<InParam<'a, ICoreWebView2RasterizationScaleChangedEventHandler>>,
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>
Trait Implementations
sourceimpl Clone for ICoreWebView2Controller3
impl Clone for ICoreWebView2Controller3
sourcefn clone(&self) -> ICoreWebView2Controller3
fn clone(&self) -> ICoreWebView2Controller3
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 ICoreWebView2Controller3
impl Debug for ICoreWebView2Controller3
sourceimpl<'a> From<&'a ICoreWebView2Controller3> for &'a ICoreWebView2Controller
impl<'a> From<&'a ICoreWebView2Controller3> for &'a ICoreWebView2Controller
sourcefn from(value: &'a ICoreWebView2Controller3) -> &'a ICoreWebView2Controller
fn from(value: &'a ICoreWebView2Controller3) -> &'a ICoreWebView2Controller
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2Controller3> for &'a ICoreWebView2Controller2
impl<'a> From<&'a ICoreWebView2Controller3> for &'a ICoreWebView2Controller2
sourcefn from(value: &'a ICoreWebView2Controller3) -> &'a ICoreWebView2Controller2
fn from(value: &'a ICoreWebView2Controller3) -> &'a ICoreWebView2Controller2
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2Controller4> for &'a ICoreWebView2Controller3
impl<'a> From<&'a ICoreWebView2Controller4> for &'a ICoreWebView2Controller3
sourcefn from(value: &'a ICoreWebView2Controller4) -> &'a ICoreWebView2Controller3
fn from(value: &'a ICoreWebView2Controller4) -> &'a ICoreWebView2Controller3
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<&ICoreWebView2Controller3> for ICoreWebView2Controller2
impl From<&ICoreWebView2Controller3> for ICoreWebView2Controller2
sourcefn from(value: &ICoreWebView2Controller3) -> ICoreWebView2Controller2
fn from(value: &ICoreWebView2Controller3) -> ICoreWebView2Controller2
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2Controller4> for ICoreWebView2Controller3
impl From<&ICoreWebView2Controller4> for ICoreWebView2Controller3
sourcefn from(value: &ICoreWebView2Controller4) -> ICoreWebView2Controller3
fn from(value: &ICoreWebView2Controller4) -> ICoreWebView2Controller3
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<ICoreWebView2Controller3> for ICoreWebView2Controller2
impl From<ICoreWebView2Controller3> for ICoreWebView2Controller2
sourcefn from(value: ICoreWebView2Controller3) -> ICoreWebView2Controller2
fn from(value: ICoreWebView2Controller3) -> ICoreWebView2Controller2
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Controller4> for ICoreWebView2Controller3
impl From<ICoreWebView2Controller4> for ICoreWebView2Controller3
sourcefn from(value: ICoreWebView2Controller4) -> ICoreWebView2Controller3
fn from(value: ICoreWebView2Controller4) -> ICoreWebView2Controller3
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2Controller3
impl Interface for ICoreWebView2Controller3
sourceconst IID: GUID = ::windows::core::GUID::from_u128(331482866677852041163472946010654856251)
const IID: GUID = ::windows::core::GUID::from_u128(331482866677852041163472946010654856251)
A unique identifier representing this interface.
sourceimpl PartialEq<ICoreWebView2Controller3> for ICoreWebView2Controller3
impl PartialEq<ICoreWebView2Controller3> for ICoreWebView2Controller3
sourcefn eq(&self, other: &ICoreWebView2Controller3) -> bool
fn eq(&self, other: &ICoreWebView2Controller3) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for ICoreWebView2Controller3
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2Controller3
impl !Send for ICoreWebView2Controller3
impl !Sync for ICoreWebView2Controller3
impl Unpin for ICoreWebView2Controller3
impl UnwindSafe for ICoreWebView2Controller3
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