Trait IDxcCompiler_Impl
pub trait IDxcCompiler_Impl: IUnknownImpl {
// Required methods
fn Compile(
&self,
psource: Ref<'_, IDxcBlob>,
psourcename: &PCWSTR,
pentrypoint: &PCWSTR,
ptargetprofile: &PCWSTR,
parguments: *const PCWSTR,
argcount: u32,
pdefines: *const DxcDefine,
definecount: u32,
pincludehandler: Ref<'_, IDxcIncludeHandler>,
) -> Result<IDxcOperationResult>;
fn Preprocess(
&self,
psource: Ref<'_, IDxcBlob>,
psourcename: &PCWSTR,
parguments: *const PCWSTR,
argcount: u32,
pdefines: *const DxcDefine,
definecount: u32,
pincludehandler: Ref<'_, IDxcIncludeHandler>,
) -> Result<IDxcOperationResult>;
fn Disassemble(
&self,
psource: Ref<'_, IDxcBlob>,
) -> Result<IDxcBlobEncoding>;
}
Required Methods§
fn Compile( &self, psource: Ref<'_, IDxcBlob>, psourcename: &PCWSTR, pentrypoint: &PCWSTR, ptargetprofile: &PCWSTR, parguments: *const PCWSTR, argcount: u32, pdefines: *const DxcDefine, definecount: u32, pincludehandler: Ref<'_, IDxcIncludeHandler>, ) -> Result<IDxcOperationResult>
fn Preprocess( &self, psource: Ref<'_, IDxcBlob>, psourcename: &PCWSTR, parguments: *const PCWSTR, argcount: u32, pdefines: *const DxcDefine, definecount: u32, pincludehandler: Ref<'_, IDxcIncludeHandler>, ) -> Result<IDxcOperationResult>
fn Disassemble(&self, psource: Ref<'_, IDxcBlob>) -> Result<IDxcBlobEncoding>
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.