#[repr(C)]pub struct pm_rest_parameter_node {
pub base: pm_node_t,
pub name: pm_constant_id_t,
pub name_loc: pm_location_t,
pub operator_loc: pm_location_t,
}
Expand description
RestParameterNode
Represents a rest parameter to a method, block, or lambda definition.
def a(*b)
^^
end
Type: ::PM_REST_PARAMETER_NODE
Flags (#pm_parameter_flags):
- ::PM_PARAMETER_FLAGS_REPEATED_PARAMETER
@extends pm_node_t
Fields§
§base: pm_node_t
The embedded base node.
name: pm_constant_id_t
RestParameterNode#name
name_loc: pm_location_t
RestParameterNode#name_loc
operator_loc: pm_location_t
RestParameterNode#operator_loc
Trait Implementations§
Source§impl Clone for pm_rest_parameter_node
impl Clone for pm_rest_parameter_node
Source§fn clone(&self) -> pm_rest_parameter_node
fn clone(&self) -> pm_rest_parameter_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_rest_parameter_node
impl Debug for pm_rest_parameter_node
Source§impl Default for pm_rest_parameter_node
impl Default for pm_rest_parameter_node
impl Copy for pm_rest_parameter_node
Auto Trait Implementations§
impl Freeze for pm_rest_parameter_node
impl RefUnwindSafe for pm_rest_parameter_node
impl !Send for pm_rest_parameter_node
impl !Sync for pm_rest_parameter_node
impl Unpin for pm_rest_parameter_node
impl UnwindSafe for pm_rest_parameter_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