pub enum RangeOp<'input> {
Exclusive(Box<Option<Expr<'input>>>, Box<Option<Expr<'input>>>),
Inclusive(Box<Option<Expr<'input>>>, Box<Expr<'input>>),
}
Expand description
An operator used to create a range.
Variants§
Exclusive(Box<Option<Expr<'input>>>, Box<Option<Expr<'input>>>)
..
Inclusive(Box<Option<Expr<'input>>>, Box<Expr<'input>>)
..=
Trait Implementations§
impl<'input> StructuralPartialEq for RangeOp<'input>
Auto Trait Implementations§
impl<'input> Freeze for RangeOp<'input>
impl<'input> RefUnwindSafe for RangeOp<'input>
impl<'input> Send for RangeOp<'input>
impl<'input> Sync for RangeOp<'input>
impl<'input> Unpin for RangeOp<'input>
impl<'input> UnwindSafe for RangeOp<'input>
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