swc_common::pass

Trait Repeated

pub trait Repeated {
    // Required methods
    fn changed(&self) -> bool;
    fn reset(&mut self);
}
Expand description

Trait for a pass which is designed to invoked multiple time to same input.

See Repeat.

Required Methods§

fn changed(&self) -> bool

Should run again?

fn reset(&mut self)

Reset.

Implementations on Foreign Types§

§

impl<A, B> Repeated for (A, B)
where A: Repeated, B: Repeated,

§

fn changed(&self) -> bool

§

fn reset(&mut self)

§

impl<A, B, C> Repeated for (A, B, C)
where A: Repeated, B: Repeated, C: Repeated,

§

fn changed(&self) -> bool

§

fn reset(&mut self)

§

impl<A, B, C, D> Repeated for (A, B, C, D)
where A: Repeated, B: Repeated, C: Repeated, D: Repeated,

§

fn changed(&self) -> bool

§

fn reset(&mut self)

§

impl<A, B, C, D, E> Repeated for (A, B, C, D, E)
where A: Repeated, B: Repeated, C: Repeated, D: Repeated, E: Repeated,

§

fn changed(&self) -> bool

§

fn reset(&mut self)

§

impl<A, B, C, D, E, F> Repeated for (A, B, C, D, E, F)
where A: Repeated, B: Repeated, C: Repeated, D: Repeated, E: Repeated, F: Repeated,

§

fn changed(&self) -> bool

§

fn reset(&mut self)

§

impl<A, B, C, D, E, F, G> Repeated for (A, B, C, D, E, F, G)
where A: Repeated, B: Repeated, C: Repeated, D: Repeated, E: Repeated, F: Repeated, G: Repeated,

§

fn changed(&self) -> bool

§

fn reset(&mut self)

§

impl<A, B, C, D, E, F, G, H> Repeated for (A, B, C, D, E, F, G, H)
where A: Repeated, B: Repeated, C: Repeated, D: Repeated, E: Repeated, F: Repeated, G: Repeated, H: Repeated,

§

fn changed(&self) -> bool

§

fn reset(&mut self)

§

impl<A, B, C, D, E, F, G, H, I> Repeated for (A, B, C, D, E, F, G, H, I)
where A: Repeated, B: Repeated, C: Repeated, D: Repeated, E: Repeated, F: Repeated, G: Repeated, H: Repeated, I: Repeated,

§

fn changed(&self) -> bool

§

fn reset(&mut self)

§

impl<A, B, C, D, E, F, G, H, I, J> Repeated for (A, B, C, D, E, F, G, H, I, J)
where A: Repeated, B: Repeated, C: Repeated, D: Repeated, E: Repeated, F: Repeated, G: Repeated, H: Repeated, I: Repeated, J: Repeated,

§

fn changed(&self) -> bool

§

fn reset(&mut self)

§

impl<A, B, C, D, E, F, G, H, I, J, K> Repeated for (A, B, C, D, E, F, G, H, I, J, K)
where A: Repeated, B: Repeated, C: Repeated, D: Repeated, E: Repeated, F: Repeated, G: Repeated, H: Repeated, I: Repeated, J: Repeated, K: Repeated,

§

fn changed(&self) -> bool

§

fn reset(&mut self)

§

impl<A, B, C, D, E, F, G, H, I, J, K, L> Repeated for (A, B, C, D, E, F, G, H, I, J, K, L)
where A: Repeated, B: Repeated, C: Repeated, D: Repeated, E: Repeated, F: Repeated, G: Repeated, H: Repeated, I: Repeated, J: Repeated, K: Repeated, L: Repeated,

§

fn changed(&self) -> bool

§

fn reset(&mut self)

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M> Repeated for (A, B, C, D, E, F, G, H, I, J, K, L, M)
where A: Repeated, B: Repeated, C: Repeated, D: Repeated, E: Repeated, F: Repeated, G: Repeated, H: Repeated, I: Repeated, J: Repeated, K: Repeated, L: Repeated, M: Repeated,

§

fn changed(&self) -> bool

§

fn reset(&mut self)

Implementors§

§

impl<V> Repeated for Repeat<V>
where V: Repeated,