Struct liquid_value::Path [−][src]
pub struct Path { /* fields omitted */ }
Path to a value in an Object
.
Methods
impl Path
[src]
impl Path
pub fn new<T: IntoIterator<Item = Index>>(indexes: T) -> Self
[src]
pub fn new<T: IntoIterator<Item = Index>>(indexes: T) -> Self
Create a Path
from iterator of Index
s
pub fn with_index<I: Into<Index>>(value: I) -> Self
[src]
pub fn with_index<I: Into<Index>>(value: I) -> Self
Create a Value
reference.
pub fn push<I: Into<Index>>(self, value: I) -> Self
[src]
pub fn push<I: Into<Index>>(self, value: I) -> Self
Append an index.
ⓘImportant traits for IndexIter<'i>pub fn iter(&self) -> IndexIter
[src]
ⓘImportant traits for IndexIter<'i>
pub fn iter(&self) -> IndexIter
Access the Value
reference.
Trait Implementations
impl Clone for Path
[src]
impl Clone for Path
fn clone(&self) -> Path
[src]
fn clone(&self) -> Path
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 Path
[src]
impl Debug for Path
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 Path
[src]
impl Default for Path
impl PartialEq for Path
[src]
impl PartialEq for Path
fn eq(&self, other: &Path) -> bool
[src]
fn eq(&self, other: &Path) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Path) -> bool
[src]
fn ne(&self, other: &Path) -> bool
This method tests for !=
.
impl Extend<Index> for Path
[src]
impl Extend<Index> for Path
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 FromIterator<Index> for Path
[src]
impl FromIterator<Index> for Path
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = Index>,
[src]
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = Index>,
Creates a value from an iterator. Read more
impl Display for Path
[src]
impl Display for Path