[][src]Trait rustc_target::abi::TyLayoutMethods

pub trait TyLayoutMethods<'a, C: LayoutOf<Ty = Self>>: Sized {
    fn for_variant(
        this: TyLayout<'a, Self>,
        cx: &C,
        variant_index: VariantIdx
    ) -> TyLayout<'a, Self>;
fn field(this: TyLayout<'a, Self>, cx: &C, i: usize) -> C::TyLayout;
fn pointee_info_at(
        this: TyLayout<'a, Self>,
        cx: &C,
        offset: Size
    ) -> Option<PointeeInfo>; }

Required methods

fn for_variant(
    this: TyLayout<'a, Self>,
    cx: &C,
    variant_index: VariantIdx
) -> TyLayout<'a, Self>

fn field(this: TyLayout<'a, Self>, cx: &C, i: usize) -> C::TyLayout

fn pointee_info_at(
    this: TyLayout<'a, Self>,
    cx: &C,
    offset: Size
) -> Option<PointeeInfo>

Loading content...

Implementors

Loading content...