Struct rustc_middle::traits::MatchExpressionArmCause [−][src]
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: Span
scrut_span: Span
semi_span: Option<(Span, StatementAsExpression)>
source: MatchSource
prior_arms: Vec<Span>
last_ty: Ty<'tcx>
scrut_hir_id: HirId
opt_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<'tcx>
impl<'tcx> !Send for MatchExpressionArmCause<'tcx>
impl<'tcx> !Sync for MatchExpressionArmCause<'tcx>
impl<'tcx> Unpin for MatchExpressionArmCause<'tcx>
impl<'tcx> !UnwindSafe for MatchExpressionArmCause<'tcx>
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