Skip to main content

instruction_segments

Function instruction_segments 

Source
pub fn instruction_segments<'ctx, 'str: 'ctx, R>(
    insn: &InstructionRef<'str, 'ctx, R>,
) -> Vec<Token>
where R: QCodeView<'ctx, 'str>,
Expand description

Render an instruction as colored, linkable tokens. Concatenating the tokens’ text equals the instruction’s Display (as_statement()) output.