Struct lib_ruby_parser::nodes::Kwsplat
source · #[repr(C)]pub struct Kwsplat {
pub value: Box<Node>,
pub operator_l: Loc,
pub expression_l: Loc,
}
Expand description
Represents a keyword arguments splat (i.e. **bar
in a call like foo(**bar)
)
Fields§
§value: Box<Node>
Value that is converted into a Hash
using **
operator_l: Loc
Location of the **
operator
foo(**bar)
~~
expression_l: Loc
Location of the full expression
foo(**bar)
~~~~~
Trait Implementations§
source§impl PartialEq for Kwsplat
impl PartialEq for Kwsplat
impl StructuralPartialEq for Kwsplat
Auto Trait Implementations§
impl Freeze for Kwsplat
impl RefUnwindSafe for Kwsplat
impl Send for Kwsplat
impl Sync for Kwsplat
impl Unpin for Kwsplat
impl UnwindSafe for Kwsplat
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