#[repr(C)]pub struct pm_match_write_node {
pub base: pm_node_t,
pub call: *mut pm_call_node,
pub targets: pm_node_list,
}
Expand description
MatchWriteNode
Represents writing local variables using a regular expression match with named capture groups.
/(?<foo>bar)/ =~ baz
^^^^^^^^^^^^^^^^^^^^
Type: ::PM_MATCH_WRITE_NODE
@extends pm_node_t
Fields§
§base: pm_node_t
The embedded base node.
call: *mut pm_call_node
MatchWriteNode#call
targets: pm_node_list
MatchWriteNode#targets
Trait Implementations§
Source§impl Clone for pm_match_write_node
impl Clone for pm_match_write_node
Source§fn clone(&self) -> pm_match_write_node
fn clone(&self) -> pm_match_write_node
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for pm_match_write_node
impl Debug for pm_match_write_node
Source§impl Default for pm_match_write_node
impl Default for pm_match_write_node
impl Copy for pm_match_write_node
Auto Trait Implementations§
impl Freeze for pm_match_write_node
impl RefUnwindSafe for pm_match_write_node
impl !Send for pm_match_write_node
impl !Sync for pm_match_write_node
impl Unpin for pm_match_write_node
impl UnwindSafe for pm_match_write_node
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