Struct lib_ruby_parser::nodes::Kwnilarg
source · #[repr(C)]pub struct Kwnilarg {
pub name_l: Loc,
pub expression_l: Loc,
}
Expand description
Represents an special argument that rejects all keyword arguments (i.e. def m(**nil); end
)
Fields§
§name_l: Loc
Location of the nil
def m(**nil); end
~~~
expression_l: Loc
Location of the nil
def m(**nil); end
~~~~~
Trait Implementations§
source§impl PartialEq for Kwnilarg
impl PartialEq for Kwnilarg
impl StructuralPartialEq for Kwnilarg
Auto Trait Implementations§
impl Freeze for Kwnilarg
impl RefUnwindSafe for Kwnilarg
impl Send for Kwnilarg
impl Sync for Kwnilarg
impl Unpin for Kwnilarg
impl UnwindSafe for Kwnilarg
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