Trait StatementInterpolatorFactory

Source
pub trait StatementInterpolatorFactory<'lt, 'out> {
    type Interpolator: ToTokens;

    // Required method
    fn new(
        &'lt self,
        stmt: StatementId,
        block: &'out mut Block,
    ) -> Self::Interpolator;
}

Required Associated Types§

Required Methods§

Source

fn new( &'lt self, stmt: StatementId, block: &'out mut Block, ) -> Self::Interpolator

Implementors§