Enum sway_ast::expr::LoopControlFlow
source · pub enum LoopControlFlow<B, C = ()> {
Continue(C),
Break(B),
}Variants§
Trait Implementations§
source§impl<B: Clone, C: Clone> Clone for LoopControlFlow<B, C>
impl<B: Clone, C: Clone> Clone for LoopControlFlow<B, C>
source§fn clone(&self) -> LoopControlFlow<B, C>
fn clone(&self) -> LoopControlFlow<B, C>
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 moreAuto Trait Implementations§
impl<B, C> RefUnwindSafe for LoopControlFlow<B, C>where B: RefUnwindSafe, C: RefUnwindSafe,
impl<B, C> Send for LoopControlFlow<B, C>where B: Send, C: Send,
impl<B, C> Sync for LoopControlFlow<B, C>where B: Sync, C: Sync,
impl<B, C> Unpin for LoopControlFlow<B, C>where B: Unpin, C: Unpin,
impl<B, C> UnwindSafe for LoopControlFlow<B, C>where B: UnwindSafe, C: UnwindSafe,
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