fn build(mut self, ctx: &'a Context) -> String {
        let mut buf = Buffer::new(0);
        if !ctx.blocks.is_empty() {
            if let Some(parent) = self.input.parent {
                self.deref_to_parent(&mut buf, parent);
            }
        };

        self.impl_template(ctx, &mut buf);
        self.impl_display(&mut buf);
        if cfg!(feature = "iron") {
            self.impl_modifier_response(&mut buf);
        }
        if cfg!(feature = "rocket") {
            self.impl_rocket_responder(&mut buf);
        }
        if cfg!(feature = "actix-web") {
            self.impl_actix_web_responder(&mut buf);
        }
        buf.buf
    }
// Takes a Context and generates the relevant implementations.
Takes a Context and generates the relevant implementations.
Takes a Context and generates the relevant implementations .
fn build(mut self, ctx: &'a Context) -> String {
        let mut buf = Buffer::new(0);
        if !ctx.blocks.is_empty() {
            if let Some(parent) = self.input.parent {
                self.deref_to_parent(&mut buf, parent);
            }
        };
        self.impl_template(ctx, &mut buf);
        self.impl_display(&mut buf);
        if cfg!(feature = "iron") {
            self.impl_modifier_response(&mut buf);
        }
        if cfg!(feature = "rocket") {
            self.impl_rocket_responder(&mut buf);
        }
        if cfg!(feature = "actix-web") {
            self.impl_actix_web_responder(&mut buf);
        }
        buf.buf
    }
fn build ( mut self , ctx : & ' a Context ) -> String { let mut buf = Buffer :: new ( 0 ) ; if ! ctx . blocks . is_empty ( ) { if let Some ( parent ) = self . input . parent { self . deref_to_parent ( & mut buf , parent ) ; } } ; self . impl_template ( ctx , & mut buf ) ; self . impl_display ( & mut buf ) ; if cfg ! ( feature " " ) { self . impl_modifier_response ( & mut buf ) ; } if cfg ! ( feature " " ) { self . impl_rocket_responder ( & mut buf ) ; } if cfg ! ( feature " " ) { self . impl_actix_web_responder ( & mut buf ) ; } buf . buf }
Takes a Context and generates the relevant implementations.
Takes a Context and generates the relevant implementations .
mut self
ctx
&'a Context
mut self
ctx
&'a Context