pub trait ICoreWebView2Frame_Impl: Sized {
    // Required methods
    fn Name(&self, name: *mut PWSTR) -> Result<()>;
    fn add_NameChanged(
        &self,
        eventhandler: Option<&ICoreWebView2FrameNameChangedEventHandler>,
        token: *mut EventRegistrationToken,
    ) -> Result<()>;
    fn remove_NameChanged(&self, token: &EventRegistrationToken) -> Result<()>;
    fn AddHostObjectToScriptWithOrigins(
        &self,
        name: &PCWSTR,
        object: *mut VARIANT,
        originscount: u32,
        origins: *const PCWSTR,
    ) -> Result<()>;
    fn RemoveHostObjectFromScript(&self, name: &PCWSTR) -> Result<()>;
    fn add_Destroyed(
        &self,
        eventhandler: Option<&ICoreWebView2FrameDestroyedEventHandler>,
        token: *mut EventRegistrationToken,
    ) -> Result<()>;
    fn remove_Destroyed(&self, token: &EventRegistrationToken) -> Result<()>;
    fn IsDestroyed(&self, destroyed: *mut BOOL) -> Result<()>;
}

Required Methods§

source

fn Name(&self, name: *mut PWSTR) -> Result<()>

source

fn add_NameChanged( &self, eventhandler: Option<&ICoreWebView2FrameNameChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>

source

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

source

fn AddHostObjectToScriptWithOrigins( &self, name: &PCWSTR, object: *mut VARIANT, originscount: u32, origins: *const PCWSTR, ) -> Result<()>

source

fn RemoveHostObjectFromScript(&self, name: &PCWSTR) -> Result<()>

source

fn add_Destroyed( &self, eventhandler: Option<&ICoreWebView2FrameDestroyedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>

source

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

source

fn IsDestroyed(&self, destroyed: *mut BOOL) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§