pub struct NoKeywordsParameterNode<'pr> { /* private fields */ }
Expand description
Represents the use of **nil
inside method arguments.
def a(**nil)
^^^^^
end
Implementations§
Source§impl<'pr> NoKeywordsParameterNode<'pr>
impl<'pr> NoKeywordsParameterNode<'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
Sourcepub fn keyword_loc(&self) -> Location<'pr>
pub fn keyword_loc(&self) -> Location<'pr>
Returns the keyword_loc
param
Trait Implementations§
Auto Trait Implementations§
impl<'pr> Freeze for NoKeywordsParameterNode<'pr>
impl<'pr> RefUnwindSafe for NoKeywordsParameterNode<'pr>
impl<'pr> !Send for NoKeywordsParameterNode<'pr>
impl<'pr> !Sync for NoKeywordsParameterNode<'pr>
impl<'pr> Unpin for NoKeywordsParameterNode<'pr>
impl<'pr> !UnwindSafe for NoKeywordsParameterNode<'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