pub enum RangeOrExpression<'ast> {
Range(Range<'ast>),
Expression(Expression<'ast>),
}Variants§
Range(Range<'ast>)
Expression(Expression<'ast>)
Trait Implementations§
Source§impl<'ast> Clone for RangeOrExpression<'ast>
impl<'ast> Clone for RangeOrExpression<'ast>
Source§fn clone(&self) -> RangeOrExpression<'ast>
fn clone(&self) -> RangeOrExpression<'ast>
Returns a duplicate 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<'ast> Debug for RangeOrExpression<'ast>
impl<'ast> Debug for RangeOrExpression<'ast>
Source§impl<'ast> Display for RangeOrExpression<'ast>
impl<'ast> Display for RangeOrExpression<'ast>
Source§impl<'ast> FromPest<'ast> for RangeOrExpression<'ast>
impl<'ast> FromPest<'ast> for RangeOrExpression<'ast>
Source§impl<'ast> PartialEq for RangeOrExpression<'ast>
impl<'ast> PartialEq for RangeOrExpression<'ast>
Source§impl<'ast> Serialize for RangeOrExpression<'ast>
impl<'ast> Serialize for RangeOrExpression<'ast>
impl<'ast> StructuralPartialEq for RangeOrExpression<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for RangeOrExpression<'ast>
impl<'ast> RefUnwindSafe for RangeOrExpression<'ast>
impl<'ast> Send for RangeOrExpression<'ast>
impl<'ast> Sync for RangeOrExpression<'ast>
impl<'ast> Unpin for RangeOrExpression<'ast>
impl<'ast> UnwindSafe for RangeOrExpression<'ast>
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