#[repr(C)]pub struct pm_rescue_modifier_node {
pub base: pm_node_t,
pub expression: *mut pm_node,
pub keyword_loc: pm_location_t,
pub rescue_expression: *mut pm_node,
}
Expand description
RescueModifierNode
Represents an expression modified with a rescue.
foo rescue nil
^^^^^^^^^^^^^^
Type: ::PM_RESCUE_MODIFIER_NODE
@extends pm_node_t
Fields§
§base: pm_node_t
The embedded base node.
expression: *mut pm_node
RescueModifierNode#expression
keyword_loc: pm_location_t
RescueModifierNode#keyword_loc
rescue_expression: *mut pm_node
RescueModifierNode#rescue_expression
Trait Implementations§
Source§impl Clone for pm_rescue_modifier_node
impl Clone for pm_rescue_modifier_node
Source§fn clone(&self) -> pm_rescue_modifier_node
fn clone(&self) -> pm_rescue_modifier_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_rescue_modifier_node
impl Debug for pm_rescue_modifier_node
Source§impl Default for pm_rescue_modifier_node
impl Default for pm_rescue_modifier_node
impl Copy for pm_rescue_modifier_node
Auto Trait Implementations§
impl Freeze for pm_rescue_modifier_node
impl RefUnwindSafe for pm_rescue_modifier_node
impl !Send for pm_rescue_modifier_node
impl !Sync for pm_rescue_modifier_node
impl Unpin for pm_rescue_modifier_node
impl UnwindSafe for pm_rescue_modifier_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