Trait rustc::ty::layout::TyLayoutMethods[][src]

pub trait TyLayoutMethods<'a, C> where
    C: LayoutOf<Ty = Self>, 
{ fn for_variant(
        this: TyLayout<'a, Self>,
        cx: C,
        variant_index: usize
    ) -> TyLayout<'a, Self>;
fn field(
        this: TyLayout<'a, Self>,
        cx: C,
        i: usize
    ) -> <C as LayoutOf>::TyLayout; }
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Required Methods

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Implementors