Struct trimmer::Var [] [src]

pub struct Var<'a, 'render: 'a>(_);

Variable reference returned from methods of Variable trait

It can contain borrowed reference from current variable or owned (reference counted) box to another object

Methods

impl<'a, 'render> Var<'a, 'render>
[src]

[src]

Embed and owned reference to a value

[src]

Embed a static string as a variable

Currently this uses reference counted object that contains pointer, but we want to figure out better way to reference static strings

[src]

Create a borrowed reference to the variable

[src]

Create an undefined variable reference

[src]

Create a variable that contains an empty string

[src]

Create a variable that boolean true

[src]

Create a variable that boolean false