Enum valkyrie_ast::CollectorTerm
source · pub enum CollectorTerm {
Item(ExpressionKind),
}Expand description
{ 1: x, p: y, [a, b]: c, **list, ***dict }
A valid term in a collector
Variants§
Item(ExpressionKind)
A simple item to append
Trait Implementations§
source§impl Clone for CollectorTerm
impl Clone for CollectorTerm
source§fn clone(&self) -> CollectorTerm
fn clone(&self) -> CollectorTerm
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CollectorTerm
impl Debug for CollectorTerm
source§impl Hash for CollectorTerm
impl Hash for CollectorTerm
source§impl PartialEq for CollectorTerm
impl PartialEq for CollectorTerm
source§fn eq(&self, other: &CollectorTerm) -> bool
fn eq(&self, other: &CollectorTerm) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CollectorTerm
impl StructuralPartialEq for CollectorTerm
Auto Trait Implementations§
impl RefUnwindSafe for CollectorTerm
impl Send for CollectorTerm
impl Sync for CollectorTerm
impl Unpin for CollectorTerm
impl UnwindSafe for CollectorTerm
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more