pub struct FinallyClauseSegment {
pub on_when: Option<FilterPredicate>,
pub body: OutcomeSegment,
}Expand description
Compilable segment for a doFinally clause within a DoTrySegment.
Fields§
§on_when: Option<FilterPredicate>§body: OutcomeSegmentTrait Implementations§
Source§impl Clone for FinallyClauseSegment
impl Clone for FinallyClauseSegment
Source§fn clone(&self) -> FinallyClauseSegment
fn clone(&self) -> FinallyClauseSegment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for FinallyClauseSegment
impl !Sync for FinallyClauseSegment
impl !UnwindSafe for FinallyClauseSegment
impl Freeze for FinallyClauseSegment
impl Send for FinallyClauseSegment
impl Unpin for FinallyClauseSegment
impl UnsafeUnpin for FinallyClauseSegment
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