Struct lib_ruby_parser::nodes::Shadowarg
source · [−]Expand description
Represents a special block argument that “shadows” outer variable (i.e. |;foo|
)
Fields
name: String
Name of the argument
expression_l: Loc
Location of the argument
proc { |;foo|}
~~~
Trait Implementations
impl StructuralPartialEq for Shadowarg
Auto Trait Implementations
impl RefUnwindSafe for Shadowarg
impl Send for Shadowarg
impl Sync for Shadowarg
impl Unpin for Shadowarg
impl UnwindSafe for Shadowarg
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