Struct liquid_interpreter::Variable [−][src]
pub struct Variable { /* fields omitted */ }A Value reference.
Methods
impl Variable[src]
impl Variablepub fn new<I: Into<Index>>(value: I) -> Self[src]
pub fn new<I: Into<Index>>(value: I) -> SelfCreate a Value reference.
pub fn path(&self) -> &Path[src]
pub fn path(&self) -> &PathThe path to the variable in the stack.
Trait Implementations
impl Clone for Variable[src]
impl Clone for Variablefn clone(&self) -> Variable[src]
fn clone(&self) -> VariableReturns 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 Variablefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for Variable[src]
impl Default for Variableimpl PartialEq for Variable[src]
impl PartialEq for Variablefn eq(&self, other: &Variable) -> bool[src]
fn eq(&self, other: &Variable) -> boolThis 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) -> boolThis method tests for !=.
impl Extend<Index> for Variable[src]
impl Extend<Index> for Variablefn 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 Variablefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Renderable for Variable[src]
impl Renderable for Variable