Skip to main content

ICoreWebView2Frame_Impl

Trait ICoreWebView2Frame_Impl 

Source
pub trait ICoreWebView2Frame_Impl: IUnknownImpl {
    // Required methods
    fn Name(&self) -> Result<PWSTR>;
    fn NameChanged(
        &self,
        eventhandler: Ref<'_, ICoreWebView2FrameNameChangedEventHandler>,
    ) -> Result<i64>;
    fn RemoveNameChanged(&self, token: i64) -> Result<()>;
    fn AddHostObjectToScriptWithOrigins(
        &self,
        name: &PCWSTR,
        object: *mut VARIANT,
        originscount: u32,
        origins: *const PCWSTR,
    ) -> Result<()>;
    fn RemoveHostObjectFromScript(&self, name: &PCWSTR) -> Result<()>;
    fn Destroyed(
        &self,
        eventhandler: Ref<'_, ICoreWebView2FrameDestroyedEventHandler>,
    ) -> Result<i64>;
    fn RemoveDestroyed(&self, token: i64) -> Result<()>;
    fn IsDestroyed(&self, destroyed: *mut BOOL) -> Result<()>;
}

Required Methods§

Source

fn Name(&self) -> Result<PWSTR>

Source

fn NameChanged( &self, eventhandler: Ref<'_, ICoreWebView2FrameNameChangedEventHandler>, ) -> Result<i64>

Source

fn RemoveNameChanged(&self, token: i64) -> 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 Destroyed( &self, eventhandler: Ref<'_, ICoreWebView2FrameDestroyedEventHandler>, ) -> Result<i64>

Source

fn RemoveDestroyed(&self, token: i64) -> Result<()>

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§