Struct lib_ruby_parser::nodes::Return
source · #[repr(C)]pub struct Return {
pub args: Vec<Node>,
pub keyword_l: Loc,
pub expression_l: Loc,
}
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§
source§impl PartialEq for Return
impl PartialEq for Return
impl StructuralPartialEq for Return
Auto Trait Implementations§
impl Freeze for Return
impl RefUnwindSafe for Return
impl Send for Return
impl Sync for Return
impl Unpin for Return
impl UnwindSafe for Return
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