Struct hassle_rs::ffi::IDxcCompiler2
source · [−]#[repr(C)]pub struct IDxcCompiler2 { /* private fields */ }
Implementations
sourceimpl IDxcCompiler2
impl IDxcCompiler2
pub unsafe fn compile_with_debug(
&self,
blob: *const IDxcBlob,
source_name: LPCWSTR,
entry_point: LPCWSTR,
target_profile: LPCWSTR,
arguments: *const LPCWSTR,
arg_count: u32,
defines: *const DxcDefine,
def_count: u32,
include_handler: *const IDxcIncludeHandler,
result: *mut *mut IDxcOperationResult,
debug_blob_name: *mut LPWSTR,
debug_blob: *mut *mut IDxcBlob
) -> HRESULT
Methods from Deref<Target = IDxcCompiler>
pub unsafe fn compile(
&self,
blob: *const IDxcBlob,
source_name: LPCWSTR,
entry_point: LPCWSTR,
target_profile: LPCWSTR,
arguments: *const LPCWSTR,
arg_count: u32,
defines: *const DxcDefine,
def_count: u32,
include_handler: *const IDxcIncludeHandler,
result: *mut *mut IDxcOperationResult
) -> HRESULT
pub unsafe fn preprocess(
&self,
blob: *const IDxcBlob,
source_name: LPCWSTR,
arguments: *const LPCWSTR,
arg_count: u32,
defines: *const DxcDefine,
def_count: u32,
include_handler: *const IDxcIncludeHandler,
result: *mut *mut IDxcOperationResult
) -> HRESULT
pub unsafe fn disassemble(
&self,
blob: *const IDxcBlob,
disassembly: *mut *mut IDxcBlobEncoding
) -> HRESULT
Trait Implementations
sourceimpl ComInterface for IDxcCompiler2
impl ComInterface for IDxcCompiler2
sourceimpl Debug for IDxcCompiler2
impl Debug for IDxcCompiler2
sourceimpl Deref for IDxcCompiler2
impl Deref for IDxcCompiler2
type Target = IDxcCompiler
type Target = IDxcCompiler
The resulting type after dereferencing.
sourcefn deref(&self) -> &IDxcCompiler
fn deref(&self) -> &IDxcCompiler
Dereferences the value.
impl AsComPtr<IDxcCompiler> for IDxcCompiler2
impl AsComPtr<IDxcCompiler2> for IDxcCompiler2
impl AsComPtr<IUnknown> for IDxcCompiler2
Auto Trait Implementations
impl RefUnwindSafe for IDxcCompiler2
impl !Send for IDxcCompiler2
impl !Sync for IDxcCompiler2
impl Unpin for IDxcCompiler2
impl UnwindSafe for IDxcCompiler2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more