pub struct ThrowStmt {
pub value: Option<Spanned<Expr>>,
}Expand description
THROW — raises an error value.
Fields§
§value: Option<Spanned<Expr>>The error value expression.
Trait Implementations§
impl StructuralPartialEq for ThrowStmt
Auto Trait Implementations§
impl Freeze for ThrowStmt
impl RefUnwindSafe for ThrowStmt
impl Send for ThrowStmt
impl Sync for ThrowStmt
impl Unpin for ThrowStmt
impl UnsafeUnpin for ThrowStmt
impl UnwindSafe for ThrowStmt
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