pub fn template(
        mut self,
        val: impl Fn(Option<String>) -> View<G> + Send + Sync + 'static,
    ) -> Template<G> {
        self.template = Box::new(val);
        self
    }
// Builder setters
// These will only be enabled under the `server-side` feature to prevent server-side code leaking into the Wasm binary (only the template setter is needed)
/// Sets the template rendering function to use.
Builder setters
These will only be enabled under the `server-side` feature to prevent server-side code leaking into the Wasm binary (only the template setter is needed)
Sets the template rendering function to use.
Builder setters These will only be enabled under the ` server - side ` feature to prevent server - side code leaking into the Wasm binary ( only the template setter is needed ) Sets the template rendering function to use .
pub fn template(
        mut self,
        val: impl Fn(Option<String>) -> View<G> + Send + Sync + 'static,
    ) -> Template<G> {
        self.template = Box::new(val);
        self
    }
pub fn template ( mut self , val : impl Fn ( Option < String > ) -> View < G > + Send + Sync + ' static , ) -> Template < G > { self . template = Box :: new ( val ) ; self }
Builder setters
These will only be enabled under the `server-side` feature to prevent server-side code leaking into the Wasm binary (only the template setter is needed)
Sets the template rendering function to use.
Builder setters These will only be enabled under the ` server - side ` feature to prevent server - side code leaking into the Wasm binary ( only the template setter is needed ) Sets the template rendering function to use .
mut self
val
impl Fn(Option<String>) -> View<G> + Send + Sync + 'static
mut self
val
impl Fn(Option<String>) -> View<G> + Send + Sync + 'static