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

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

Required methods

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

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

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

Loading content...

Implementors

impl Assembler for CompiledAssembler[src]

Loading content...