Enum roost_lang::nodes::RangeExpr
source · [−]pub enum RangeExpr {
None(Box<OrExpr>),
Closed(Box<OrExpr>, TokenKind, Box<OrExpr>, Span),
OpenEnd(Box<OrExpr>, Span),
OpenStart(TokenKind, Box<OrExpr>, Span),
Open,
}
Variants
None(Box<OrExpr>)
Closed(Box<OrExpr>, TokenKind, Box<OrExpr>, Span)
OpenEnd(Box<OrExpr>, Span)
OpenStart(TokenKind, Box<OrExpr>, Span)
Open
Trait Implementations
impl StructuralPartialEq for RangeExpr
Auto Trait Implementations
impl RefUnwindSafe for RangeExpr
impl Send for RangeExpr
impl Sync for RangeExpr
impl Unpin for RangeExpr
impl UnwindSafe for RangeExpr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more