Struct rustc::ty::layout::LayoutDetails [−][src]
pub struct LayoutDetails {
pub variants: Variants,
pub fields: FieldPlacement,
pub abi: Abi,
pub align: Align,
pub size: Size,
}🔬 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?
Fields
variants: Variants
🔬 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?
fields: FieldPlacement
🔬 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?
abi: Abi
🔬 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?
align: Align
🔬 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?
size: Size
🔬 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?
Methods
impl LayoutDetails[src]
impl LayoutDetailspub fn scalar<C>(cx: C, scalar: Scalar) -> LayoutDetails where
C: HasDataLayout, [src]
pub fn scalar<C>(cx: C, scalar: Scalar) -> LayoutDetails where
C: HasDataLayout, 🔬 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?
Trait Implementations
impl Debug for LayoutDetails[src]
impl Debug for LayoutDetailsfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Eq for LayoutDetails[src]
impl Eq for LayoutDetailsfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl Hash for LayoutDetails[src]
impl Hash for LayoutDetailsfn hash<__H>(&self, state: &mut __H) where
__H: Hasher, [src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher, Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq<LayoutDetails> for LayoutDetails[src]
impl PartialEq<LayoutDetails> for LayoutDetailsfn eq(&self, other: &LayoutDetails) -> bool[src]
fn eq(&self, other: &LayoutDetails) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &LayoutDetails) -> bool[src]
fn ne(&self, other: &LayoutDetails) -> boolThis method tests for !=.
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for LayoutDetails[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for LayoutDetailsfn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)[src]
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)🔬 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?
Auto Trait Implementations
impl Send for LayoutDetails
impl Send for LayoutDetailsimpl Sync for LayoutDetails
impl Sync for LayoutDetails