[][src]Trait yz_basic_block::jump::ForeachTarget

pub trait ForeachTarget {
    type JumpTarget;
    fn foreach_target<F>(&self, f: F)
    where
        F: FnMut(&Self::JumpTarget)
;
fn foreach_target_mut<F>(&mut self, f: F)
    where
        F: FnMut(&mut Self::JumpTarget)
; }

Associated Types

Loading content...

Required methods

fn foreach_target<F>(&self, f: F) where
    F: FnMut(&Self::JumpTarget), 

fn foreach_target_mut<F>(&mut self, f: F) where
    F: FnMut(&mut Self::JumpTarget), 

Loading content...

Implementors

impl<C, T> ForeachTarget for C where
    &'a C: IntoIterator<Item = &'a T>,
    &'a mut C: IntoIterator<Item = &'a mut T>,
    T: ForeachTarget
[src]

type JumpTarget = T::JumpTarget

impl<S, C> ForeachTarget for Arena<S, C> where
    BasicBlock<S, C, BbId>: ForeachTarget<JumpTarget = BbId>, 
[src]

type JumpTarget = BbId

impl<S, C, T> ForeachTarget for BasicBlockInner<S, C, T> where
    S: ForeachTarget<JumpTarget = T>,
    C: ForeachTarget<JumpTarget = T>, 
[src]

type JumpTarget = T

impl<S, C, T> ForeachTarget for BasicBlock<S, C, T> where
    S: ForeachTarget<JumpTarget = T>,
    C: ForeachTarget<JumpTarget = T>, 
[src]

type JumpTarget = T

impl<T> ForeachTarget for Unconditional<T>[src]

type JumpTarget = T

impl<T> ForeachTarget for Dummy<T>[src]

type JumpTarget = T

Loading content...