Struct ruby_prism::AssocSplatNode
source · pub struct AssocSplatNode<'pr> { /* private fields */ }
Expand description
Represents a splat in a hash literal.
{ **foo }
^^^^^
Implementations§
source§impl<'pr> AssocSplatNode<'pr>
impl<'pr> AssocSplatNode<'pr>
sourcepub fn flags(&self) -> pm_node_flags_t
pub fn flags(&self) -> pm_node_flags_t
Returns the flags of this node.
sourcepub fn operator_loc(&self) -> Location<'pr>
pub fn operator_loc(&self) -> Location<'pr>
Returns the operator_loc
param
Trait Implementations§
Auto Trait Implementations§
impl<'pr> RefUnwindSafe for AssocSplatNode<'pr>
impl<'pr> !Send for AssocSplatNode<'pr>
impl<'pr> !Sync for AssocSplatNode<'pr>
impl<'pr> Unpin for AssocSplatNode<'pr>
impl<'pr> !UnwindSafe for AssocSplatNode<'pr>
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