webview2_com_sys::Microsoft::Web::WebView2::Win32

Trait ICoreWebView2Controller3_Impl

Source
pub trait ICoreWebView2Controller3_Impl: ICoreWebView2Controller2_Impl {
    // Required methods
    fn RasterizationScale(&self, scale: *mut f64) -> Result<()>;
    fn SetRasterizationScale(&self, scale: f64) -> Result<()>;
    fn ShouldDetectMonitorScaleChanges(&self, value: *mut BOOL) -> Result<()>;
    fn SetShouldDetectMonitorScaleChanges(&self, value: BOOL) -> Result<()>;
    fn add_RasterizationScaleChanged(
        &self,
        eventhandler: Ref<'_, ICoreWebView2RasterizationScaleChangedEventHandler>,
        token: *mut EventRegistrationToken,
    ) -> Result<()>;
    fn remove_RasterizationScaleChanged(
        &self,
        token: &EventRegistrationToken,
    ) -> Result<()>;
    fn BoundsMode(
        &self,
        boundsmode: *mut COREWEBVIEW2_BOUNDS_MODE,
    ) -> Result<()>;
    fn SetBoundsMode(&self, boundsmode: COREWEBVIEW2_BOUNDS_MODE) -> Result<()>;
}

Required Methods§

Source

fn RasterizationScale(&self, scale: *mut f64) -> Result<()>

Source

fn SetRasterizationScale(&self, scale: f64) -> Result<()>

Source

fn ShouldDetectMonitorScaleChanges(&self, value: *mut BOOL) -> Result<()>

Source

fn SetShouldDetectMonitorScaleChanges(&self, value: BOOL) -> Result<()>

Source

fn add_RasterizationScaleChanged( &self, eventhandler: Ref<'_, ICoreWebView2RasterizationScaleChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>

Source

fn remove_RasterizationScaleChanged( &self, token: &EventRegistrationToken, ) -> Result<()>

Source

fn BoundsMode(&self, boundsmode: *mut COREWEBVIEW2_BOUNDS_MODE) -> Result<()>

Source

fn SetBoundsMode(&self, boundsmode: COREWEBVIEW2_BOUNDS_MODE) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§