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

Trait ICoreWebView2CustomSchemeRegistration_Impl

Source
pub trait ICoreWebView2CustomSchemeRegistration_Impl: IUnknownImpl {
    // Required methods
    fn SchemeName(&self, schemename: *mut PWSTR) -> Result<(), Error>;
    fn TreatAsSecure(&self, treatassecure: *mut BOOL) -> Result<(), Error>;
    fn SetTreatAsSecure(&self, value: BOOL) -> Result<(), Error>;
    fn GetAllowedOrigins(
        &self,
        allowedoriginscount: *mut u32,
        allowedorigins: *mut *mut PWSTR,
    ) -> Result<(), Error>;
    fn SetAllowedOrigins(
        &self,
        allowedoriginscount: u32,
        allowedorigins: *const PCWSTR,
    ) -> Result<(), Error>;
    fn HasAuthorityComponent(
        &self,
        hasauthoritycomponent: *mut BOOL,
    ) -> Result<(), Error>;
    fn SetHasAuthorityComponent(
        &self,
        hasauthoritycomponent: BOOL,
    ) -> Result<(), Error>;
}

Required Methods§

Source

fn SchemeName(&self, schemename: *mut PWSTR) -> Result<(), Error>

Source

fn TreatAsSecure(&self, treatassecure: *mut BOOL) -> Result<(), Error>

Source

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

Source

fn GetAllowedOrigins( &self, allowedoriginscount: *mut u32, allowedorigins: *mut *mut PWSTR, ) -> Result<(), Error>

Source

fn SetAllowedOrigins( &self, allowedoriginscount: u32, allowedorigins: *const PCWSTR, ) -> Result<(), Error>

Source

fn HasAuthorityComponent( &self, hasauthoritycomponent: *mut BOOL, ) -> Result<(), Error>

Source

fn SetHasAuthorityComponent( &self, hasauthoritycomponent: BOOL, ) -> 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§