Struct lib_ruby_parser::nodes::ForwardArg
source · #[repr(C)]pub struct ForwardArg {
pub expression_l: Loc,
}
Expand description
Represents a special ...
argument that forwards positional/keyword/block arguments.
Fields§
§expression_l: Loc
Location of the ...
def m(...); end
~~~
Trait Implementations§
source§impl Clone for ForwardArg
impl Clone for ForwardArg
source§fn clone(&self) -> ForwardArg
fn clone(&self) -> ForwardArg
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ForwardArg
impl Debug for ForwardArg
source§impl PartialEq for ForwardArg
impl PartialEq for ForwardArg
source§fn eq(&self, other: &ForwardArg) -> bool
fn eq(&self, other: &ForwardArg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ForwardArg
Auto Trait Implementations§
impl Freeze for ForwardArg
impl RefUnwindSafe for ForwardArg
impl Send for ForwardArg
impl Sync for ForwardArg
impl Unpin for ForwardArg
impl UnwindSafe for ForwardArg
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