Function easy_plugin::extractor::expr_to_range []

pub fn expr_to_range(expr: &Expr)
                     -> Result<(Option<P<Expr>>, Option<P<Expr>>, RangeLimits), (Span, String)>

Returns the ExprKind::Range values in the supplied Expr.