Struct liquid_interpreter::Variable [−][src]
pub struct Variable { /* fields omitted */ }
A Value
reference.
Methods
impl Variable
[src]
impl Variable
pub fn new<I: Into<Index>>(value: I) -> Self
[src]
pub fn new<I: Into<Index>>(value: I) -> Self
Create a Value
reference.
pub fn path(&self) -> &Path
[src]
pub fn path(&self) -> &Path
The path to the variable in the stack.
Trait Implementations
impl Clone for Variable
[src]
impl Clone for Variable
fn clone(&self) -> Variable
[src]
fn clone(&self) -> Variable
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Variable
[src]
impl Debug for Variable
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Variable
[src]
impl Default for Variable
impl PartialEq for Variable
[src]
impl PartialEq for Variable
fn eq(&self, other: &Variable) -> bool
[src]
fn eq(&self, other: &Variable) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Variable) -> bool
[src]
fn ne(&self, other: &Variable) -> bool
This method tests for !=
.
impl Extend<Index> for Variable
[src]
impl Extend<Index> for Variable
fn extend<T: IntoIterator<Item = Index>>(&mut self, iter: T)
[src]
fn extend<T: IntoIterator<Item = Index>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
impl Display for Variable
[src]
impl Display for Variable
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Renderable for Variable
[src]
impl Renderable for Variable