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