pub trait BlockContext:
Clone
+ Sync
+ Send
+ Sized {
type Instruction;
type InstructionIndex: Debug + From<u64>;
type Iter: Iterator<Item = Self::Instruction>;
// Required methods
fn start(&self, block: &BasicBlock<Self>) -> Self::Instruction;
fn iter(&self, block: &BasicBlock<Self>) -> Self::Iter;
}
Required Associated Types§
type Instruction
type InstructionIndex: Debug + From<u64>
type Iter: Iterator<Item = Self::Instruction>
Required Methods§
fn start(&self, block: &BasicBlock<Self>) -> Self::Instruction
fn iter(&self, block: &BasicBlock<Self>) -> Self::Iter
Object Safety§
This trait is not object safe.