trait DebugInfoOffsetLocation<'tcx, Bx> {
    // Required methods
    fn deref(&self, bx: &mut Bx) -> Self;
    fn layout(&self) -> TyAndLayout<'tcx>;
    fn project_field(&self, bx: &mut Bx, field: FieldIdx) -> Self;
    fn project_constant_index(&self, bx: &mut Bx, offset: u64) -> Self;
    fn downcast(&self, bx: &mut Bx, variant: VariantIdx) -> Self;
}

Required Methods§

source

fn deref(&self, bx: &mut Bx) -> Self

source

fn layout(&self) -> TyAndLayout<'tcx>

source

fn project_field(&self, bx: &mut Bx, field: FieldIdx) -> Self

source

fn project_constant_index(&self, bx: &mut Bx, offset: u64) -> Self

source

fn downcast(&self, bx: &mut Bx, variant: VariantIdx) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> DebugInfoOffsetLocation<'tcx, Bx> for TyAndLayout<'tcx>

source§

fn deref(&self, bx: &mut Bx) -> Self

source§

fn layout(&self) -> TyAndLayout<'tcx>

source§

fn project_field(&self, bx: &mut Bx, field: FieldIdx) -> Self

source§

fn project_constant_index(&self, bx: &mut Bx, index: u64) -> Self

source§

fn downcast(&self, bx: &mut Bx, variant: VariantIdx) -> Self

Implementors§

source§

impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> DebugInfoOffsetLocation<'tcx, Bx> for PlaceRef<'tcx, Bx::Value>