Struct lib_ruby_parser::nodes::Lambda
source · #[repr(C)]pub struct Lambda {
pub expression_l: Loc,
}
Expand description
Represents a lambda call using ->
(i.e. -> {}
)
Note that Lambda
is a part of the Block
, not other way around.
Fields§
§expression_l: Loc
Location of the ->
-> {}
~~
Trait Implementations§
source§impl PartialEq for Lambda
impl PartialEq for Lambda
impl StructuralPartialEq for Lambda
Auto Trait Implementations§
impl Freeze for Lambda
impl RefUnwindSafe for Lambda
impl Send for Lambda
impl Sync for Lambda
impl Unpin for Lambda
impl UnwindSafe for Lambda
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