Struct rustc_infer::traits::MatchExpressionArmCause
source · pub struct MatchExpressionArmCause<'tcx> {
pub arm_block_id: Option<HirId>,
pub arm_ty: Ty<'tcx>,
pub arm_span: Span,
pub prior_arm_block_id: Option<HirId>,
pub prior_arm_ty: Ty<'tcx>,
pub prior_arm_span: Span,
pub scrut_span: Span,
pub source: MatchSource,
pub prior_arms: Vec<Span, Global>,
pub scrut_hir_id: HirId,
pub opt_suggest_box_span: Option<Span>,
}
Fields
arm_block_id: Option<HirId>
arm_ty: Ty<'tcx>
arm_span: Span
prior_arm_block_id: Option<HirId>
prior_arm_ty: Ty<'tcx>
prior_arm_span: Span
scrut_span: Span
source: MatchSource
prior_arms: Vec<Span, Global>
scrut_hir_id: HirId
opt_suggest_box_span: Option<Span>
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
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: 104 bytes