Struct ruby_prism_sys::pm_match_last_line_node
source · #[repr(C)]pub struct pm_match_last_line_node {
pub base: pm_node_t,
pub opening_loc: pm_location_t,
pub content_loc: pm_location_t,
pub closing_loc: pm_location_t,
pub unescaped: pm_string_t,
}Expand description
MatchLastLineNode
Type: PM_MATCH_LAST_LINE_NODE Flags: PM_REGULAR_EXPRESSION_FLAGS_IGNORE_CASE PM_REGULAR_EXPRESSION_FLAGS_EXTENDED PM_REGULAR_EXPRESSION_FLAGS_MULTI_LINE PM_REGULAR_EXPRESSION_FLAGS_ONCE PM_REGULAR_EXPRESSION_FLAGS_EUC_JP PM_REGULAR_EXPRESSION_FLAGS_ASCII_8BIT PM_REGULAR_EXPRESSION_FLAGS_WINDOWS_31J PM_REGULAR_EXPRESSION_FLAGS_UTF_8 PM_REGULAR_EXPRESSION_FLAGS_FORCED_UTF8_ENCODING PM_REGULAR_EXPRESSION_FLAGS_FORCED_BINARY_ENCODING PM_REGULAR_EXPRESSION_FLAGS_FORCED_US_ASCII_ENCODING
@extends pm_node_t
Fields§
§base: pm_node_tThe embedded base node.
opening_loc: pm_location_tMatchLastLineNode#opening_loc
content_loc: pm_location_tMatchLastLineNode#content_loc
closing_loc: pm_location_tMatchLastLineNode#closing_loc
unescaped: pm_string_tMatchLastLineNode#unescaped
Trait Implementations§
source§impl Clone for pm_match_last_line_node
impl Clone for pm_match_last_line_node
source§fn clone(&self) -> pm_match_last_line_node
fn clone(&self) -> pm_match_last_line_node
Returns a copy 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_last_line_node
impl Debug for pm_match_last_line_node
source§impl Default for pm_match_last_line_node
impl Default for pm_match_last_line_node
impl Copy for pm_match_last_line_node
Auto Trait Implementations§
impl RefUnwindSafe for pm_match_last_line_node
impl !Send for pm_match_last_line_node
impl !Sync for pm_match_last_line_node
impl Unpin for pm_match_last_line_node
impl UnwindSafe for pm_match_last_line_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