Struct lib_ruby_parser::nodes::Return
source · [−]Expand description
Represents return
keyword
Fields
args: Vec<Node>
A list of values that is returned
keyword_l: Loc
Location of the return
keyword
return 1, 2
~~~~~~
expression_l: Loc
Location of the full expression
return 1, 2
~~~~~~~~~~~
Trait Implementations
impl StructuralPartialEq for Return
Auto Trait Implementations
impl RefUnwindSafe for Return
impl Send for Return
impl Sync for Return
impl Unpin for Return
impl UnwindSafe for Return
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more