pub enum ControlFlow {
Continue {
symbol: Option<DebugSymbol>,
label: Option<Label>,
},
Break {
symbol: Option<DebugSymbol>,
label: Option<Label>,
expr: Option<Box<Expr>>,
},
Return {
symbol: Option<DebugSymbol>,
expr: Option<Box<Expr>>,
},
}
Variants§
Implementations§
Source§impl ControlFlow
impl ControlFlow
pub fn debug_symbol(&self) -> Option<&DebugSymbol>
Trait Implementations§
Source§impl Clone for ControlFlow
impl Clone for ControlFlow
Source§fn clone(&self) -> ControlFlow
fn clone(&self) -> ControlFlow
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 moreAuto Trait Implementations§
impl Freeze for ControlFlow
impl RefUnwindSafe for ControlFlow
impl Send for ControlFlow
impl Sync for ControlFlow
impl Unpin for ControlFlow
impl UnwindSafe for ControlFlow
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