pub trait BlockContext: Clone + Sync + Send + Sized {
    type Instruction;
    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§

Required Methods§

source

fn start(&self, block: &BasicBlock<Self>) -> Self::Instruction

source

fn iter(&self, block: &BasicBlock<Self>) -> Self::Iter

Object Safety§

This trait is not object safe.

Implementors§