Trait spirv_tools::assembler::Assembler
source · pub trait Assembler: Default {
// Required methods
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<Option<String>, Error>;
}