pub enum BreakTarget {
Loop(LoopId),
Switch(SwitchId),
}Expand description
What a break leaves.
Variants§
Trait Implementations§
Source§impl Clone for BreakTarget
impl Clone for BreakTarget
impl Copy for BreakTarget
Source§impl Debug for BreakTarget
impl Debug for BreakTarget
impl Eq for BreakTarget
Source§impl PartialEq for BreakTarget
impl PartialEq for BreakTarget
impl StructuralPartialEq for BreakTarget
Auto Trait Implementations§
impl Freeze for BreakTarget
impl RefUnwindSafe for BreakTarget
impl Send for BreakTarget
impl Sync for BreakTarget
impl Unpin for BreakTarget
impl UnsafeUnpin for BreakTarget
impl UnwindSafe for BreakTarget
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