Trait rustc_target::abi::TyLayoutMethods [−][src]
pub trait TyLayoutMethods<'a, C: LayoutOf<Ty = Self>>: Sized { 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::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
fn for_variant(
this: TyLayout<'a, Self>,
cx: C,
variant_index: usize
) -> TyLayout<'a, Self>
this: TyLayout<'a, Self>,
cx: C,
variant_index: usize
) -> TyLayout<'a, Self>
🔬 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?
fn field(this: TyLayout<'a, Self>, cx: C, i: usize) -> C::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?