pub struct Return<'a> {
pub return_span: Span,
pub expr: Expression<'a>,
}Expand description
Return statement
Fields§
§return_span: SpanSpan of “Return”
expr: Expression<'a>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Return<'a>
impl<'a> RefUnwindSafe for Return<'a>
impl<'a> Send for Return<'a>
impl<'a> Sync for Return<'a>
impl<'a> Unpin for Return<'a>
impl<'a> UnsafeUnpin for Return<'a>
impl<'a> UnwindSafe for Return<'a>
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