quil_rs::instruction

Trait GetRoleForInstructionFnMut

Source
pub trait GetRoleForInstructionFnMut: FnMut(&Instruction) -> Option<InstructionRole> { }
Expand description

Trait signature for a function or closure that returns an optional override for an instruction’s InstructionRole.

Implementors§