pub struct RubyRescueBlock {
pub body: String,
pub rescues: Vec<(Vec<String>, Option<String>, String)>,
pub ensure: Option<String>,
}Expand description
Ruby begin/rescue/ensure
Fields§
§body: String§rescues: Vec<(Vec<String>, Option<String>, String)>§ensure: Option<String>Trait Implementations§
Source§impl Clone for RubyRescueBlock
impl Clone for RubyRescueBlock
Source§fn clone(&self) -> RubyRescueBlock
fn clone(&self) -> RubyRescueBlock
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 RubyRescueBlock
impl Debug for RubyRescueBlock
Auto Trait Implementations§
impl Freeze for RubyRescueBlock
impl RefUnwindSafe for RubyRescueBlock
impl Send for RubyRescueBlock
impl Sync for RubyRescueBlock
impl Unpin for RubyRescueBlock
impl UnsafeUnpin for RubyRescueBlock
impl UnwindSafe for RubyRescueBlock
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