Struct rustc_middle::traits::MatchExpressionArmCause
source · [−]pub struct MatchExpressionArmCause<'tcx> {
pub arm_span: Span,
pub scrut_span: Span,
pub semi_span: Option<(Span, StatementAsExpression)>,
pub source: MatchSource,
pub prior_arms: Vec<Span>,
pub last_ty: Ty<'tcx>,
pub scrut_hir_id: HirId,
pub opt_suggest_box_span: Option<Span>,
}Fields
arm_span: Spanscrut_span: Spansemi_span: Option<(Span, StatementAsExpression)>source: MatchSourceprior_arms: Vec<Span>last_ty: Ty<'tcx>scrut_hir_id: HirIdopt_suggest_box_span: Option<Span>Trait Implementations
type Lifted = MatchExpressionArmCause<'__lifted>
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for MatchExpressionArmCause
impl<'tcx> !Send for MatchExpressionArmCause
impl<'tcx> !Sync for MatchExpressionArmCause
impl<'tcx> Unpin for MatchExpressionArmCause
impl<'tcx> !UnwindSafe for MatchExpressionArmCause
Blanket Implementations
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: 88 bytes