pub struct CoreWebView2CompositionController(/* private fields */);
Implementations§
Source§impl CoreWebView2CompositionController
impl CoreWebView2CompositionController
pub fn RootVisualTarget(&self) -> Result<Object>
pub fn SetRootVisualTarget<'a, T0__: IntoParam<'a, Object>>( &self, value: T0__, ) -> Result<()>
pub fn CursorChanged<'a, T0__: IntoParam<'a, TypedEventHandler<CoreWebView2CompositionController, Object>>>( &self, handler: T0__, ) -> Result<EventRegistrationToken>
pub fn RemoveCursorChanged<'a, T0__: IntoParam<'a, EventRegistrationToken>>( &self, token: T0__, ) -> Result<()>
pub fn SendMouseInput<'a, T3__: IntoParam<'a, Point>>( &self, eventkind: CoreWebView2MouseEventKind, virtualkeys: CoreWebView2MouseEventVirtualKeys, mousedata: u32, point: T3__, ) -> Result<()>
pub fn SendPointerInput<'a, T1__: IntoParam<'a, CoreWebView2PointerInfo>>( &self, eventkind: CoreWebView2PointerEventKind, pointerinfo: T1__, ) -> Result<()>
pub fn DragLeave(&self) -> Result<()>
pub fn DragOver<'a, T1__: IntoParam<'a, Point>>( &self, keystate: u32, point: T1__, ) -> Result<u32>
pub fn IsVisible(&self) -> Result<bool>
pub fn SetIsVisible(&self, value: bool) -> Result<()>
pub fn Bounds(&self) -> Result<Rect>
pub fn SetBounds<'a, T0__: IntoParam<'a, Rect>>( &self, value: T0__, ) -> Result<()>
pub fn ZoomFactor(&self) -> Result<f64>
pub fn SetZoomFactor(&self, value: f64) -> Result<()>
pub fn ParentWindow(&self) -> Result<CoreWebView2ControllerWindowReference>
pub fn SetParentWindow<'a, T0__: IntoParam<'a, CoreWebView2ControllerWindowReference>>( &self, value: T0__, ) -> Result<()>
pub fn CoreWebView2(&self) -> Result<CoreWebView2>
pub fn ZoomFactorChanged<'a, T0__: IntoParam<'a, TypedEventHandler<CoreWebView2Controller, Object>>>( &self, handler: T0__, ) -> Result<EventRegistrationToken>
pub fn RemoveZoomFactorChanged<'a, T0__: IntoParam<'a, EventRegistrationToken>>( &self, token: T0__, ) -> Result<()>
pub fn MoveFocusRequested<'a, T0__: IntoParam<'a, TypedEventHandler<CoreWebView2Controller, CoreWebView2MoveFocusRequestedEventArgs>>>( &self, handler: T0__, ) -> Result<EventRegistrationToken>
pub fn RemoveMoveFocusRequested<'a, T0__: IntoParam<'a, EventRegistrationToken>>( &self, token: T0__, ) -> Result<()>
pub fn GotFocus<'a, T0__: IntoParam<'a, TypedEventHandler<CoreWebView2Controller, Object>>>( &self, handler: T0__, ) -> Result<EventRegistrationToken>
pub fn RemoveGotFocus<'a, T0__: IntoParam<'a, EventRegistrationToken>>( &self, token: T0__, ) -> Result<()>
pub fn LostFocus<'a, T0__: IntoParam<'a, TypedEventHandler<CoreWebView2Controller, Object>>>( &self, handler: T0__, ) -> Result<EventRegistrationToken>
pub fn RemoveLostFocus<'a, T0__: IntoParam<'a, EventRegistrationToken>>( &self, token: T0__, ) -> Result<()>
pub fn AcceleratorKeyPressed<'a, T0__: IntoParam<'a, TypedEventHandler<CoreWebView2Controller, CoreWebView2AcceleratorKeyPressedEventArgs>>>( &self, handler: T0__, ) -> Result<EventRegistrationToken>
pub fn RemoveAcceleratorKeyPressed<'a, T0__: IntoParam<'a, EventRegistrationToken>>( &self, token: T0__, ) -> Result<()>
pub fn SetBoundsAndZoomFactor<'a, T0__: IntoParam<'a, Rect>>( &self, bounds: T0__, zoomfactor: f64, ) -> Result<()>
pub fn MoveFocus(&self, reason: CoreWebView2MoveFocusReason) -> Result<()>
pub fn NotifyParentWindowPositionChanged(&self) -> Result<()>
pub fn Close(&self) -> Result<()>
pub fn RasterizationScale(&self) -> Result<f64>
pub fn SetRasterizationScale(&self, value: f64) -> Result<()>
pub fn ShouldDetectMonitorScaleChanges(&self) -> Result<bool>
pub fn SetShouldDetectMonitorScaleChanges(&self, value: bool) -> Result<()>
pub fn BoundsMode(&self) -> Result<CoreWebView2BoundsMode>
pub fn SetBoundsMode(&self, value: CoreWebView2BoundsMode) -> Result<()>
pub fn RasterizationScaleChanged<'a, T0__: IntoParam<'a, TypedEventHandler<CoreWebView2Controller, Object>>>( &self, handler: T0__, ) -> Result<EventRegistrationToken>
pub fn RemoveRasterizationScaleChanged<'a, T0__: IntoParam<'a, EventRegistrationToken>>( &self, token: T0__, ) -> Result<()>
Trait Implementations§
Source§impl Clone for CoreWebView2CompositionController
impl Clone for CoreWebView2CompositionController
Source§fn clone(&self) -> CoreWebView2CompositionController
fn clone(&self) -> CoreWebView2CompositionController
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<&CoreWebView2CompositionController> for CoreWebView2Controller
impl From<&CoreWebView2CompositionController> for CoreWebView2Controller
Source§fn from(value: &CoreWebView2CompositionController) -> Self
fn from(value: &CoreWebView2CompositionController) -> Self
Converts to this type from the input type.
Source§impl From<&CoreWebView2CompositionController> for Object
impl From<&CoreWebView2CompositionController> for Object
Source§fn from(value: &CoreWebView2CompositionController) -> Self
fn from(value: &CoreWebView2CompositionController) -> Self
Converts to this type from the input type.
Source§impl From<CoreWebView2CompositionController> for CoreWebView2Controller
impl From<CoreWebView2CompositionController> for CoreWebView2Controller
Source§fn from(value: CoreWebView2CompositionController) -> Self
fn from(value: CoreWebView2CompositionController) -> Self
Converts to this type from the input type.
Source§impl From<CoreWebView2CompositionController> for Object
impl From<CoreWebView2CompositionController> for Object
Source§fn from(value: CoreWebView2CompositionController) -> Self
fn from(value: CoreWebView2CompositionController) -> Self
Converts to this type from the input type.
Source§impl Interface for CoreWebView2CompositionController
impl Interface for CoreWebView2CompositionController
const IID: Guid
type Vtable = ICoreWebView2CompositionController_abi
Source§impl<'a> IntoParam<'a, CoreWebView2Controller> for &'a CoreWebView2CompositionController
impl<'a> IntoParam<'a, CoreWebView2Controller> for &'a CoreWebView2CompositionController
fn into_param(self) -> Param<'a, CoreWebView2Controller>
Source§impl<'a> IntoParam<'a, CoreWebView2Controller> for CoreWebView2CompositionController
impl<'a> IntoParam<'a, CoreWebView2Controller> for CoreWebView2CompositionController
fn into_param(self) -> Param<'a, CoreWebView2Controller>
Source§impl<'a> IntoParam<'a, Object> for &'a CoreWebView2CompositionController
impl<'a> IntoParam<'a, Object> for &'a CoreWebView2CompositionController
fn into_param(self) -> Param<'a, Object>
Source§impl<'a> IntoParam<'a, Object> for CoreWebView2CompositionController
impl<'a> IntoParam<'a, Object> for CoreWebView2CompositionController
fn into_param(self) -> Param<'a, Object>
Source§impl PartialEq for CoreWebView2CompositionController
impl PartialEq for CoreWebView2CompositionController
Source§fn eq(&self, other: &CoreWebView2CompositionController) -> bool
fn eq(&self, other: &CoreWebView2CompositionController) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for CoreWebView2CompositionController
impl Send for CoreWebView2CompositionController
impl StructuralPartialEq for CoreWebView2CompositionController
impl Sync for CoreWebView2CompositionController
Auto Trait Implementations§
impl Freeze for CoreWebView2CompositionController
impl RefUnwindSafe for CoreWebView2CompositionController
impl Unpin for CoreWebView2CompositionController
impl UnwindSafe for CoreWebView2CompositionController
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more