Trait spirv_tools::assembler::Assembler[][src]

pub trait Assembler: Default {
    fn with_env(target_env: TargetEnv) -> Self;
fn assemble(
        &self,
        text: &str,
        options: AssemblerOptions
    ) -> Result<Binary, Error>;
fn disassemble(
        &self,
        binary: impl AsRef<[u32]>,
        options: DisassembleOptions
    ) -> Result<String, Error>; }

Required methods

fn with_env(target_env: TargetEnv) -> Self[src]

fn assemble(
    &self,
    text: &str,
    options: AssemblerOptions
) -> Result<Binary, Error>
[src]

fn disassemble(
    &self,
    binary: impl AsRef<[u32]>,
    options: DisassembleOptions
) -> Result<String, Error>
[src]

Loading content...

Implementors

impl Assembler for CompiledAssembler[src]

Loading content...