pub trait ICoreWebView2Find_Impl: IUnknownImpl {
// Required methods
fn ActiveMatchIndex(&self, value: *mut i32) -> Result<(), Error>;
fn MatchCount(&self, value: *mut i32) -> Result<(), Error>;
fn add_ActiveMatchIndexChanged(
&self,
eventhandler: Ref<'_, ICoreWebView2FindActiveMatchIndexChangedEventHandler>,
token: *mut i64,
) -> Result<(), Error>;
fn remove_ActiveMatchIndexChanged(&self, token: i64) -> Result<(), Error>;
fn add_MatchCountChanged(
&self,
eventhandler: Ref<'_, ICoreWebView2FindMatchCountChangedEventHandler>,
token: *mut i64,
) -> Result<(), Error>;
fn remove_MatchCountChanged(&self, token: i64) -> Result<(), Error>;
fn Start(
&self,
options: Ref<'_, ICoreWebView2FindOptions>,
handler: Ref<'_, ICoreWebView2FindStartCompletedHandler>,
) -> Result<(), Error>;
fn FindNext(&self) -> Result<(), Error>;
fn FindPrevious(&self) -> Result<(), Error>;
fn Stop(&self) -> Result<(), Error>;
}Required Methods§
fn ActiveMatchIndex(&self, value: *mut i32) -> Result<(), Error>
fn MatchCount(&self, value: *mut i32) -> Result<(), Error>
fn add_ActiveMatchIndexChanged( &self, eventhandler: Ref<'_, ICoreWebView2FindActiveMatchIndexChangedEventHandler>, token: *mut i64, ) -> Result<(), Error>
fn remove_ActiveMatchIndexChanged(&self, token: i64) -> Result<(), Error>
fn add_MatchCountChanged( &self, eventhandler: Ref<'_, ICoreWebView2FindMatchCountChangedEventHandler>, token: *mut i64, ) -> Result<(), Error>
fn remove_MatchCountChanged(&self, token: i64) -> Result<(), Error>
fn Start( &self, options: Ref<'_, ICoreWebView2FindOptions>, handler: Ref<'_, ICoreWebView2FindStartCompletedHandler>, ) -> Result<(), Error>
fn FindNext(&self) -> Result<(), Error>
fn FindPrevious(&self) -> Result<(), Error>
fn Stop(&self) -> 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.