Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Controller2
source · [−]#[repr(transparent)]pub struct ICoreWebView2Controller2(_);
Implementations
sourceimpl ICoreWebView2Controller2
impl ICoreWebView2Controller2
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<()>
Trait Implementations
sourceimpl Clone for ICoreWebView2Controller2
impl Clone for ICoreWebView2Controller2
sourceimpl Debug for ICoreWebView2Controller2
impl Debug for ICoreWebView2Controller2
sourceimpl From<&'_ ICoreWebView2Controller2> for ICoreWebView2Controller
impl From<&'_ ICoreWebView2Controller2> for ICoreWebView2Controller
sourcefn from(value: &ICoreWebView2Controller2) -> Self
fn from(value: &ICoreWebView2Controller2) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Controller2> for IUnknown
impl From<&'_ ICoreWebView2Controller2> for IUnknown
sourcefn from(value: &ICoreWebView2Controller2) -> Self
fn from(value: &ICoreWebView2Controller2) -> 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<ICoreWebView2Controller2> for ICoreWebView2Controller
impl From<ICoreWebView2Controller2> for ICoreWebView2Controller
sourcefn from(value: ICoreWebView2Controller2) -> Self
fn from(value: ICoreWebView2Controller2) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Controller2> for IUnknown
impl From<ICoreWebView2Controller2> for IUnknown
sourcefn from(value: ICoreWebView2Controller2) -> Self
fn from(value: ICoreWebView2Controller2) -> 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 Interface for ICoreWebView2Controller2
impl Interface for ICoreWebView2Controller2
impl Eq for ICoreWebView2Controller2
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
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