Struct rustc_mir::transform::early_otherwise_branch::Helper [−][src]
Fields
body: &'a Body<'tcx>tcx: TyCtxt<'tcx>Implementations
pub fn go(
&self,
bb: &BasicBlockData<'tcx>,
switch: &Terminator<'tcx>
) -> Option<Vec<OptimizationInfo<'tcx>>>
fn find_discriminant_switch_pairing(
&self,
discr_info: &SwitchDiscriminantInfo<'tcx>,
target: BasicBlock,
value: u128
) -> Option<OptimizationInfo<'tcx>>
fn find_switch_discriminant_info(
&self,
bb: &BasicBlockData<'tcx>,
switch: &Terminator<'tcx>
) -> Option<SwitchDiscriminantInfo<'tcx>>
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for Helper<'a, 'tcx>
impl<'a, 'tcx> !UnwindSafe for Helper<'a, 'tcx>
Blanket Implementations
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: 16 bytes