Trait ra_ap_syntax::ast::RangeItem
source · pub trait RangeItem {
type Bound;
// Required methods
fn start(&self) -> Option<Self::Bound>;
fn end(&self) -> Option<Self::Bound>;
fn op_kind(&self) -> Option<RangeOp>;
fn op_token(&self) -> Option<SyntaxToken>;
}
Expand description
Trait to describe operations common to both RangeExpr
and RangePat
.