[−][src]Trait rustc::ty::layout::TyLayoutMethods
🔬 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 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?
Implementors
impl<'a, 'tcx, C> TyLayoutMethods<'tcx, C> for Ty<'tcx> where
C: LayoutOf<Ty = Ty<'tcx>> + HasTyCtxt<'tcx>,
C::TyLayout: MaybeResult<TyLayout<'tcx>>,
[src]
impl<'a, 'tcx, C> TyLayoutMethods<'tcx, C> for Ty<'tcx> where
C: LayoutOf<Ty = Ty<'tcx>> + HasTyCtxt<'tcx>,
C::TyLayout: MaybeResult<TyLayout<'tcx>>,
fn for_variant(
this: TyLayout<'tcx>,
cx: C,
variant_index: usize
) -> TyLayout<'tcx>
[src]
fn for_variant(
this: TyLayout<'tcx>,
cx: C,
variant_index: usize
) -> TyLayout<'tcx>
🔬 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<'tcx>, cx: C, i: usize) -> C::TyLayout
[src]
fn field(this: TyLayout<'tcx>, 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?