Skip to main content

Markup

Trait Markup 

Source
pub trait Markup:
    Send
    + Sync
    + 'static {
    // Required method
    fn install(&self, env: &mut Environment<'static>);
}
Expand description

What a module installs into a theme engine.

Required Methods§

Source

fn install(&self, env: &mut Environment<'static>)

Adds the module’s functions, filters, tests and globals to env.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§