[][src]Struct hassle_rs::wrapper::DxcCompiler

pub struct DxcCompiler { /* fields omitted */ }

Methods

impl DxcCompiler[src]

pub fn compile(
    &self,
    blob: &DxcBlobEncoding,
    source_name: &str,
    entry_point: &str,
    target_profile: &str,
    args: &[&str],
    defines: &[(&str, Option<&str>)]
) -> Result<DxcOperationResult, (DxcOperationResult, HRESULT)>
[src]

pub fn compile_with_debug(
    &self,
    blob: &DxcBlobEncoding,
    source_name: &str,
    entry_point: &str,
    target_profile: &str,
    args: &[&str],
    defines: &[(&str, Option<&str>)]
) -> Result<(DxcOperationResult, String, DxcBlob), (DxcOperationResult, HRESULT)>
[src]

pub fn preprocess(
    &self,
    blob: &DxcBlobEncoding,
    source_name: &str,
    args: &[&str],
    defines: &[(&str, Option<&str>)]
) -> Result<DxcOperationResult, (DxcOperationResult, HRESULT)>
[src]

pub fn disassemble(&self, blob: &DxcBlob) -> Result<DxcBlobEncoding, HRESULT>[src]

Trait Implementations

impl Debug for DxcCompiler[src]

Auto Trait Implementations

impl !Send for DxcCompiler

impl !Sync for DxcCompiler

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]