Struct webview2_com_sys::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<()>
pub unsafe fn SetIsVisible<'a, Param0: IntoParam<'a, BOOL>>(
&self,
isvisible: Param0
) -> Result<()>
pub unsafe fn Bounds(&self, bounds: *mut RECT) -> Result<()>
pub unsafe fn SetBounds<'a, Param0: IntoParam<'a, RECT>>(
&self,
bounds: Param0
) -> Result<()>
pub unsafe fn ZoomFactor(&self, zoomfactor: *mut f64) -> Result<()>
pub unsafe fn SetZoomFactor(&self, zoomfactor: f64) -> 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 MoveFocus(
&self,
reason: COREWEBVIEW2_MOVE_FOCUS_REASON
) -> 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 ParentWindow(&self, parentwindow: *mut HWND) -> Result<()>
pub unsafe fn SetParentWindow<'a, Param0: IntoParam<'a, HWND>>(
&self,
parentwindow: Param0
) -> Result<()>
pub unsafe fn NotifyParentWindowPositionChanged(&self) -> Result<()>
pub unsafe fn Close(&self) -> Result<()>
pub unsafe fn CoreWebView2(&self) -> Result<ICoreWebView2>
pub unsafe fn DefaultBackgroundColor(
&self,
backgroundcolor: *mut COREWEBVIEW2_COLOR
) -> Result<()>
pub unsafe fn SetDefaultBackgroundColor<'a, Param0: IntoParam<'a, COREWEBVIEW2_COLOR>>(
&self,
backgroundcolor: Param0
) -> Result<()>
pub unsafe fn RasterizationScale(&self, scale: *mut f64) -> Result<()>
pub unsafe fn SetRasterizationScale(&self, scale: f64) -> Result<()>
pub unsafe fn ShouldDetectMonitorScaleChanges(
&self,
value: *mut BOOL
) -> Result<()>
pub unsafe fn SetShouldDetectMonitorScaleChanges<'a, Param0: IntoParam<'a, BOOL>>(
&self,
value: Param0
) -> Result<()>
pub unsafe fn RasterizationScaleChanged<'a, Param0: IntoParam<'a, ICoreWebView2RasterizationScaleChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveRasterizationScaleChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn BoundsMode(
&self,
boundsmode: *mut COREWEBVIEW2_BOUNDS_MODE
) -> Result<()>
pub unsafe fn SetBoundsMode(
&self,
boundsmode: COREWEBVIEW2_BOUNDS_MODE
) -> Result<()>
Trait Implementations
sourceimpl Clone for ICoreWebView2Controller3
impl Clone for ICoreWebView2Controller3
sourceimpl Debug for ICoreWebView2Controller3
impl Debug for ICoreWebView2Controller3
sourceimpl From<&'_ ICoreWebView2Controller3> for ICoreWebView2Controller2
impl From<&'_ ICoreWebView2Controller3> for ICoreWebView2Controller2
sourcefn from(value: &ICoreWebView2Controller3) -> Self
fn from(value: &ICoreWebView2Controller3) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Controller3> for ICoreWebView2Controller
impl From<&'_ ICoreWebView2Controller3> for ICoreWebView2Controller
sourcefn from(value: &ICoreWebView2Controller3) -> Self
fn from(value: &ICoreWebView2Controller3) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Controller3> for IUnknown
impl From<&'_ ICoreWebView2Controller3> for IUnknown
sourcefn from(value: &ICoreWebView2Controller3) -> Self
fn from(value: &ICoreWebView2Controller3) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Controller3> for ICoreWebView2Controller2
impl From<ICoreWebView2Controller3> for ICoreWebView2Controller2
sourcefn from(value: ICoreWebView2Controller3) -> Self
fn from(value: ICoreWebView2Controller3) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Controller3> for ICoreWebView2Controller
impl From<ICoreWebView2Controller3> for ICoreWebView2Controller
sourcefn from(value: ICoreWebView2Controller3) -> Self
fn from(value: ICoreWebView2Controller3) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Controller3> for IUnknown
impl From<ICoreWebView2Controller3> for IUnknown
sourcefn from(value: ICoreWebView2Controller3) -> Self
fn from(value: ICoreWebView2Controller3) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2Controller3
impl Interface for ICoreWebView2Controller3
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
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>
sourceunsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
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.
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