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<'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 ZoomFactorChanged<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2ZoomFactorChangedEventHandler>,
pub unsafe fn RemoveZoomFactorChanged<'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: i32) -> Result<(), Error>
pub unsafe fn MoveFocusRequested<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2MoveFocusRequestedEventHandler>,
pub unsafe fn RemoveMoveFocusRequested<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn GotFocus<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2FocusChangedEventHandler>,
pub unsafe fn RemoveGotFocus<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn LostFocus<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2FocusChangedEventHandler>,
pub unsafe fn RemoveLostFocus<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn AcceleratorKeyPressed<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2AcceleratorKeyPressedEventHandler>,
pub unsafe fn RemoveAcceleratorKeyPressed<'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>
pub unsafe fn DefaultBackgroundColor(
&self,
backgroundcolor: *mut COREWEBVIEW2_COLOR
) -> Result<(), Error>
pub unsafe fn SetDefaultBackgroundColor<'a, Param0>(
&self,
backgroundcolor: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, COREWEBVIEW2_COLOR>,
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<'a, Param0>(
&self,
value: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, BOOL>,
pub unsafe fn RasterizationScaleChanged<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2RasterizationScaleChangedEventHandler>,
pub unsafe fn RemoveRasterizationScaleChanged<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn BoundsMode(&self, boundsmode: *mut i32) -> Result<(), Error>
pub unsafe fn SetBoundsMode(&self, boundsmode: i32) -> Result<(), Error>
Trait Implementations
sourceimpl Clone for ICoreWebView2Controller3
impl Clone for ICoreWebView2Controller3
sourcepub fn clone(&self) -> ICoreWebView2Controller3
pub 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 From<&'_ ICoreWebView2Controller3> for ICoreWebView2Controller2
impl From<&'_ ICoreWebView2Controller3> for ICoreWebView2Controller2
sourcepub fn from(value: &ICoreWebView2Controller3) -> ICoreWebView2Controller2
pub fn from(value: &ICoreWebView2Controller3) -> ICoreWebView2Controller2
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Controller3> for ICoreWebView2Controller
impl From<&'_ ICoreWebView2Controller3> for ICoreWebView2Controller
sourcepub fn from(value: &ICoreWebView2Controller3) -> ICoreWebView2Controller
pub fn from(value: &ICoreWebView2Controller3) -> ICoreWebView2Controller
Performs the conversion.
sourceimpl From<ICoreWebView2Controller3> for ICoreWebView2Controller2
impl From<ICoreWebView2Controller3> for ICoreWebView2Controller2
sourcepub fn from(value: ICoreWebView2Controller3) -> ICoreWebView2Controller2
pub fn from(value: ICoreWebView2Controller3) -> ICoreWebView2Controller2
Performs the conversion.
sourceimpl From<ICoreWebView2Controller3> for ICoreWebView2Controller
impl From<ICoreWebView2Controller3> for ICoreWebView2Controller
sourcepub fn from(value: ICoreWebView2Controller3) -> ICoreWebView2Controller
pub fn from(value: ICoreWebView2Controller3) -> ICoreWebView2Controller
Performs the conversion.
sourceimpl Interface for ICoreWebView2Controller3
impl Interface for ICoreWebView2Controller3
type Vtable = ICoreWebView2Controller3Vtbl
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
impl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
type DefaultType = Option<T>
sourcepub unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
pub unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
Safety
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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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