Struct liquid::Index
[−]
[src]
pub struct Index { /* fields omitted */ }
Methods
impl Index
[src]
fn with_key<S: Into<String>>(key: S) -> Self
[src]
fn with_index(index: isize) -> Self
[src]
fn is_key(&self) -> bool
[src]
fn is_index(&self) -> bool
[src]
fn as_key(&self) -> Option<&str>
[src]
fn as_index(&self) -> Option<isize>
[src]
Trait Implementations
impl Clone for Index
[src]
fn clone(&self) -> Index
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Index
[src]
impl Eq for Index
[src]
impl PartialEq for Index
[src]
fn eq(&self, __arg_0: &Index) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Index) -> bool
[src]
This method tests for !=
.
impl Display for Index
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more