Struct devise::syn::PatRange [−][src]
pub struct PatRange {
pub lo: Box<Expr, Global>,
pub limits: RangeLimits,
pub hi: Box<Expr, Global>,
}Expand description
A range pattern: 1..=2.
This type is available if Syn is built with the "full" feature.
Fields
lo: Box<Expr, Global>limits: RangeLimitshi: Box<Expr, Global>Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PatRange
impl UnwindSafe for PatRange
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