Enum rustc_mir_build::build::ForGuard
source · enum ForGuard {
RefWithinGuard,
OutsideGuard,
}
Expand description
ForGuard
indicates whether we are talking about:
- The variable for use outside of guard expressions, or
- The temp that holds reference to (1.), which is actually what the guard expressions see.
Variants§
Trait Implementations§
impl Copy for ForGuard
impl Eq for ForGuard
impl StructuralEq for ForGuard
impl StructuralPartialEq for ForGuard
Auto Trait Implementations§
impl RefUnwindSafe for ForGuard
impl Send for ForGuard
impl Sync for ForGuard
impl Unpin for ForGuard
impl UnwindSafe for ForGuard
Blanket Implementations§
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: 1 byte
Size for each variant:
RefWithinGuard
: 0 bytesOutsideGuard
: 0 bytes