pub struct ThrowStmt {
pub leading_comments: Vec<Comment>,
pub throw_span: Span,
pub expr: Expr,
pub semi_span: Span,
}Expand description
A throw statement.
Fields§
§leading_comments: Vec<Comment>§throw_span: Span§expr: Expr§semi_span: SpanImplementations§
Trait Implementations§
impl Eq for ThrowStmt
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