pub enum SyntaxExpression {
Required(SyntaxToken),
Optional(Vec<SyntaxExpression>),
}
Variants§
Required(SyntaxToken)
Optional(Vec<SyntaxExpression>)
Trait Implementations§
source§impl Clone for SyntaxExpression
impl Clone for SyntaxExpression
source§fn clone(&self) -> SyntaxExpression
fn clone(&self) -> SyntaxExpression
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 SyntaxExpression
impl Debug for SyntaxExpression
source§impl PartialEq for SyntaxExpression
impl PartialEq for SyntaxExpression
source§fn eq(&self, other: &SyntaxExpression) -> bool
fn eq(&self, other: &SyntaxExpression) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SyntaxExpression
Auto Trait Implementations§
impl RefUnwindSafe for SyntaxExpression
impl Send for SyntaxExpression
impl Sync for SyntaxExpression
impl Unpin for SyntaxExpression
impl UnwindSafe for SyntaxExpression
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