Struct devise::syn::ExprRange [−][src]
pub struct ExprRange {
pub attrs: Vec<Attribute, Global>,
pub from: Option<Box<Expr, Global>>,
pub limits: RangeLimits,
pub to: Option<Box<Expr, Global>>,
}
Expand description
A range expression: 1..2
, 1..
, ..2
, 1..=2
, ..=2
.
This type is available if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute, Global>
from: Option<Box<Expr, Global>>
limits: RangeLimits
to: Option<Box<Expr, Global>>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ExprRange
impl UnwindSafe for ExprRange
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more