Enum liva_parser::literals::Collection [−][src]
pub enum Collection<'a> {
Array(Vec<Expression<'a>>),
Map(HashMap<String, Expression<'a>>),
}
Expand description
Collections are seperated from literals, as they allow for expressions
Variants
Array(Vec<Expression<'a>>)
Tuple Fields of Array
0: Vec<Expression<'a>>
Map(HashMap<String, Expression<'a>>)
Tuple Fields of Map
0: HashMap<String, Expression<'a>>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for Collection<'a>
impl<'a> Send for Collection<'a>
impl<'a> Sync for Collection<'a>
impl<'a> Unpin for Collection<'a>
impl<'a> UnwindSafe for Collection<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more