Struct ruby_prism::MatchWriteNode
source · pub struct MatchWriteNode<'pr> { /* private fields */ }
Expand description
Represents writing local variables using a regular expression match with named capture groups.
/(?<foo>bar)/ =~ baz
^^^^^^^^^^^^^^^^^^^^
Implementations§
source§impl<'pr> MatchWriteNode<'pr>
impl<'pr> MatchWriteNode<'pr>
sourcepub fn flags(&self) -> pm_node_flags_t
pub fn flags(&self) -> pm_node_flags_t
Returns the flags of this node.
Trait Implementations§
Auto Trait Implementations§
impl<'pr> RefUnwindSafe for MatchWriteNode<'pr>
impl<'pr> !Send for MatchWriteNode<'pr>
impl<'pr> !Sync for MatchWriteNode<'pr>
impl<'pr> Unpin for MatchWriteNode<'pr>
impl<'pr> !UnwindSafe for MatchWriteNode<'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