Trait Direction

Source
pub trait Direction<'lt> {
    // Required methods
    fn inital_work_queue(cfg: &ControlFlowGraph) -> WorkQueue<BasicBlockId>;
    fn propagate_result(
        bb: BasicBlockId,
        cfg: &ControlFlowGraph,
        apply: impl FnMut(BasicBlockId),
    );
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'lt> Direction<'lt> for Backward

Source§

impl<'lt> Direction<'lt> for Forward