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

pub trait Assembler: Default {
    fn with_env(target_env: TargetEnv) -> Self;
fn assemble(
        &self,
        text: &str,
        options: AssemblerOptions
    ) -> Result<Binary, Error>; }

Required methods

fn with_env(target_env: TargetEnv) -> Self

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

Loading content...

Implementors

impl Assembler for CompiledAssembler[src]

Loading content...