Struct ruby_prism_sys::pm_array_pattern_node
source · #[repr(C)]pub struct pm_array_pattern_node {
pub base: pm_node_t,
pub constant: *mut pm_node,
pub requireds: pm_node_list,
pub rest: *mut pm_node,
pub posts: pm_node_list,
pub opening_loc: pm_location_t,
pub closing_loc: pm_location_t,
}Expand description
ArrayPatternNode
Type: PM_ARRAY_PATTERN_NODE
@extends pm_node_t
Fields§
§base: pm_node_tThe embedded base node.
constant: *mut pm_nodeArrayPatternNode#constant
requireds: pm_node_listArrayPatternNode#requireds
rest: *mut pm_nodeArrayPatternNode#rest
posts: pm_node_listArrayPatternNode#posts
opening_loc: pm_location_tArrayPatternNode#opening_loc
closing_loc: pm_location_tArrayPatternNode#closing_loc
Trait Implementations§
source§impl Clone for pm_array_pattern_node
impl Clone for pm_array_pattern_node
source§fn clone(&self) -> pm_array_pattern_node
fn clone(&self) -> pm_array_pattern_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_array_pattern_node
impl Debug for pm_array_pattern_node
source§impl Default for pm_array_pattern_node
impl Default for pm_array_pattern_node
impl Copy for pm_array_pattern_node
Auto Trait Implementations§
impl RefUnwindSafe for pm_array_pattern_node
impl !Send for pm_array_pattern_node
impl !Sync for pm_array_pattern_node
impl Unpin for pm_array_pattern_node
impl UnwindSafe for pm_array_pattern_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