Struct rustpython_ast::StmtMatch
source · pub struct StmtMatch<R = TextRange> {
pub range: R,
pub subject: Box<Expr<R>>,
pub cases: Vec<MatchCase<R>>,
}
Expand description
See also Match
Fields§
§range: R
§subject: Box<Expr<R>>
§cases: Vec<MatchCase<R>>
Trait Implementations§
source§impl<R: PartialEq> PartialEq for StmtMatch<R>
impl<R: PartialEq> PartialEq for StmtMatch<R>
impl<R> StructuralPartialEq for StmtMatch<R>
Auto Trait Implementations§
impl<R> Freeze for StmtMatch<R>where
R: Freeze,
impl<R> RefUnwindSafe for StmtMatch<R>where
R: RefUnwindSafe,
impl<R> Send for StmtMatch<R>where
R: Send,
impl<R> Sync for StmtMatch<R>where
R: Sync,
impl<R> Unpin for StmtMatch<R>where
R: Unpin,
impl<R> UnwindSafe for StmtMatch<R>where
R: UnwindSafe,
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