Trait IActiveScriptProfilerCallback_Impl
pub trait IActiveScriptProfilerCallback_Impl: IUnknownImpl {
// Required methods
fn Initialize(&self, dwcontext: u32) -> Result<()>;
fn Shutdown(&self, hrreason: HRESULT) -> Result<()>;
fn ScriptCompiled(
&self,
scriptid: i32,
type: PROFILER_SCRIPT_TYPE,
pidebugdocumentcontext: Ref<'_, IUnknown>,
) -> Result<()>;
fn FunctionCompiled(
&self,
functionid: i32,
scriptid: i32,
pwszfunctionname: &PCWSTR,
pwszfunctionnamehint: &PCWSTR,
pidebugdocumentcontext: Ref<'_, IUnknown>,
) -> Result<()>;
fn OnFunctionEnter(&self, scriptid: i32, functionid: i32) -> Result<()>;
fn OnFunctionExit(&self, scriptid: i32, functionid: i32) -> Result<()>;
}
Required Methods§
fn Initialize(&self, dwcontext: u32) -> Result<()>
fn Shutdown(&self, hrreason: HRESULT) -> Result<()>
fn ScriptCompiled( &self, scriptid: i32, type: PROFILER_SCRIPT_TYPE, pidebugdocumentcontext: Ref<'_, IUnknown>, ) -> Result<()>
fn FunctionCompiled( &self, functionid: i32, scriptid: i32, pwszfunctionname: &PCWSTR, pwszfunctionnamehint: &PCWSTR, pidebugdocumentcontext: Ref<'_, IUnknown>, ) -> Result<()>
fn OnFunctionEnter(&self, scriptid: i32, functionid: i32) -> Result<()>
fn OnFunctionExit(&self, scriptid: i32, functionid: i32) -> Result<()>
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.