Struct rustc_trait_selection::traits::IfExpressionCause
source · pub struct IfExpressionCause<'tcx> {
pub then_id: HirId,
pub else_id: HirId,
pub then_ty: Ty<'tcx>,
pub else_ty: Ty<'tcx>,
pub outer_span: Option<Span>,
pub opt_suggest_box_span: Option<Span>,
}
Fields§
§then_id: HirId
§else_id: HirId
§then_ty: Ty<'tcx>
§else_ty: Ty<'tcx>
§outer_span: Option<Span>
§opt_suggest_box_span: Option<Span>
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for IfExpressionCause<'tcx>
impl<'tcx> !Send for IfExpressionCause<'tcx>
impl<'tcx> !Sync for IfExpressionCause<'tcx>
impl<'tcx> Unpin for IfExpressionCause<'tcx>
impl<'tcx> !UnwindSafe for IfExpressionCause<'tcx>
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: 56 bytes