[][src]Trait rustc_target::abi::TyAndLayoutMethods

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

Required methods

pub fn for_variant(
    this: TyAndLayout<'a, Self>,
    cx: &C,
    variant_index: VariantIdx
) -> TyAndLayout<'a, Self>
[src]

pub fn field(this: TyAndLayout<'a, Self>, cx: &C, i: usize) -> C::TyAndLayout[src]

pub fn pointee_info_at(
    this: TyAndLayout<'a, Self>,
    cx: &C,
    offset: Size
) -> Option<PointeeInfo>
[src]

Loading content...

Implementors

Loading content...