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
impl StructuralPartialEq for Lambda
Auto Trait Implementations
impl RefUnwindSafe for Lambda
impl Send for Lambda
impl Sync for Lambda
impl Unpin for Lambda
impl UnwindSafe for Lambda
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