webview2_com::Microsoft::Web::WebView2::Win32

Trait ICoreWebView2Controller3_Impl

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

Required Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

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§