Struct marker_api::ast::RangeExpr
source · #[repr(C)]pub struct RangeExpr<'ast> { /* private fields */ }
Expand description
A range expression, like these:
1..9;
3..;
..5;
..;
0..=1;
Implementations§
Trait Implementations§
source§impl<'ast> ExprData<'ast> for RangeExpr<'ast>
impl<'ast> ExprData<'ast> for RangeExpr<'ast>
source§fn precedence(&self) -> ExprPrecedence
fn precedence(&self) -> ExprPrecedence
Returns the
ExprPrecedence
of this expression.Auto Trait Implementations§
impl<'ast> RefUnwindSafe for RangeExpr<'ast>
impl<'ast> !Send for RangeExpr<'ast>
impl<'ast> !Sync for RangeExpr<'ast>
impl<'ast> Unpin for RangeExpr<'ast>
impl<'ast> UnwindSafe for RangeExpr<'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