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
sourceimpl Clone for ForwardArg
impl Clone for ForwardArg
sourcefn clone(&self) -> ForwardArg
fn clone(&self) -> ForwardArg
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ForwardArg
impl Debug for ForwardArg
sourceimpl PartialEq<ForwardArg> for ForwardArg
impl PartialEq<ForwardArg> for ForwardArg
sourcefn eq(&self, other: &ForwardArg) -> bool
fn eq(&self, other: &ForwardArg) -> bool
impl StructuralPartialEq for ForwardArg
Auto Trait Implementations
impl RefUnwindSafe for ForwardArg
impl Send for ForwardArg
impl Sync for ForwardArg
impl Unpin for ForwardArg
impl UnwindSafe for ForwardArg
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