Enum rustc_mir_build::build::scope::BreakableTarget
source · pub(crate) enum BreakableTarget {
Continue(Scope),
Break(Scope),
Return,
}
Expand description
The target of an expression that breaks out of a scope
Variants§
Trait Implementations§
source§impl Clone for BreakableTarget
impl Clone for BreakableTarget
source§fn clone(&self) -> BreakableTarget
fn clone(&self) -> BreakableTarget
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 moresource§impl Debug for BreakableTarget
impl Debug for BreakableTarget
impl Copy for BreakableTarget
Auto Trait Implementations§
impl RefUnwindSafe for BreakableTarget
impl Send for BreakableTarget
impl Sync for BreakableTarget
impl Unpin for BreakableTarget
impl UnwindSafe for BreakableTarget
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 12 bytes
Size for each variant:
Continue
: 8 bytesBreak
: 8 bytesReturn
: 0 bytes