Trait CompilerPass

Source
pub trait CompilerPass {
    // Required method
    fn name(&self) -> Cow<'static, str>;
}
Expand description

A named compiler pass.

Required Methods§

Source

fn name(&self) -> Cow<'static, str>

  • name should follow hyphen-case.
  • an implementation should return same name

Implementations on Foreign Types§

Source§

impl<A, B> CompilerPass for (A, B)

Source§

fn name(&self) -> Cow<'static, str>

Source§

impl<A, B, C> CompilerPass for (A, B, C)

Source§

fn name(&self) -> Cow<'static, str>

Source§

impl<A, B, C, D> CompilerPass for (A, B, C, D)

Source§

fn name(&self) -> Cow<'static, str>

Source§

impl<A, B, C, D, E> CompilerPass for (A, B, C, D, E)

Source§

fn name(&self) -> Cow<'static, str>

Source§

impl<A, B, C, D, E, F> CompilerPass for (A, B, C, D, E, F)

Source§

fn name(&self) -> Cow<'static, str>

Source§

impl<A, B, C, D, E, F, G> CompilerPass for (A, B, C, D, E, F, G)

Source§

fn name(&self) -> Cow<'static, str>

Source§

impl<A, B, C, D, E, F, G, H> CompilerPass for (A, B, C, D, E, F, G, H)

Source§

fn name(&self) -> Cow<'static, str>

Source§

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

Source§

fn name(&self) -> Cow<'static, str>

Source§

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

Source§

fn name(&self) -> Cow<'static, str>

Source§

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

Source§

fn name(&self) -> Cow<'static, str>

Source§

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

Source§

fn name(&self) -> Cow<'static, str>

Source§

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

Source§

fn name(&self) -> Cow<'static, str>

Implementors§