Enum rustc_middle::hir::map::blocks::Code [−][src]
pub enum Code<'a> {
FnLike(FnLikeNode<'a>),
Expr(&'a Expr<'a>),
}Expand description
Carries either an FnLikeNode or a Expr, as these are the two constructs that correspond to “code” (as in, something from which we can construct a control-flow graph).
Variants
FnLike(FnLikeNode<'a>)Expr(&'a Expr<'a>)Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Code<'a>impl<'a> !UnwindSafe for Code<'a>Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 24 bytes