Skip to main content

place_raw_accesses_self_field

Function place_raw_accesses_self_field 

Source
fn place_raw_accesses_self_field(
    tcx: TyCtxt<'_>,
    method: DefId,
    place: &Place<'_>,
    self_local: Local,
    field_index: usize,
) -> bool
Expand description

Whether place is a raw-pointer deref whose operand traces back to the field field_index of the struct borrowed via self_local.