Struct lib_ruby_parser::nodes::Kwargs
source · #[repr(C)]pub struct Kwargs {
pub pairs: Vec<Node>,
pub expression_l: Loc,
}
Expand description
Represents kwargs that are given to a method call, super or yield (i.e. foo(bar: 1)
)
Fields§
§pairs: Vec<Node>
A list of key-value pairs
expression_l: Loc
Location of the full expression
foo(bar: 1)
~~~~~~
Trait Implementations§
source§impl PartialEq for Kwargs
impl PartialEq for Kwargs
impl StructuralPartialEq for Kwargs
Auto Trait Implementations§
impl Freeze for Kwargs
impl RefUnwindSafe for Kwargs
impl Send for Kwargs
impl Sync for Kwargs
impl Unpin for Kwargs
impl UnwindSafe for Kwargs
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