pub struct YieldStmt {
pub leading_comments: Vec<Comment>,
pub yield_span: Span,
pub value: Expr,
pub semi_span: Span,
}Expand description
A yield statement (in switch expressions).
Fields§
§leading_comments: Vec<Comment>§yield_span: Span§value: Expr§semi_span: SpanImplementations§
Trait Implementations§
impl Eq for YieldStmt
impl StructuralPartialEq for YieldStmt
Auto Trait Implementations§
impl Freeze for YieldStmt
impl RefUnwindSafe for YieldStmt
impl Send for YieldStmt
impl Sync for YieldStmt
impl Unpin for YieldStmt
impl UnsafeUnpin for YieldStmt
impl UnwindSafe for YieldStmt
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