windows::Win32::System::Diagnostics::Debug::Extensions

Trait IDataModelScript_Impl

pub trait IDataModelScript_Impl: IUnknownImpl {
    // Required methods
    fn GetName(&self) -> Result<BSTR>;
    fn Rename(&self, scriptname: &PCWSTR) -> Result<()>;
    fn Populate(&self, contentstream: Ref<'_, IStream>) -> Result<()>;
    fn Execute(&self, client: Ref<'_, IDataModelScriptClient>) -> Result<()>;
    fn Unlink(&self) -> Result<()>;
    fn IsInvocable(&self) -> Result<bool>;
    fn InvokeMain(&self, client: Ref<'_, IDataModelScriptClient>) -> Result<()>;
}

Required Methods§

fn GetName(&self) -> Result<BSTR>

fn Rename(&self, scriptname: &PCWSTR) -> Result<()>

fn Populate(&self, contentstream: Ref<'_, IStream>) -> Result<()>

fn Execute(&self, client: Ref<'_, IDataModelScriptClient>) -> Result<()>

fn IsInvocable(&self) -> Result<bool>

fn InvokeMain(&self, client: Ref<'_, IDataModelScriptClient>) -> 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.

Implementors§