Struct liquid::LiquidOptions [] [src]

pub struct LiquidOptions {
    pub blocks: HashMap<String, Box<Block>>,
    pub tags: HashMap<String, Box<Tag>>,
    pub file_system: Option<PathBuf>,
}

Options that liquid::parse takes

Fields

Holds all custom block-size tags

Holds all custom tags

The path to which paths in include tags should be relative to

Methods

impl LiquidOptions
[src]

Creates a LiquidOptions instance, pre-seeded with all known tags and blocks.

Registers all known tags and blocks in an existing options struct

Inserts a new custom block into the options object

Inserts a new custom tag into the options object

Trait Implementations

impl Default for LiquidOptions
[src]

Returns the "default value" for a type. Read more