Struct rustc::ty::layout::call::CastTarget [−][src]
pub struct CastTarget {
pub prefix: [Option<RegKind>; 8],
pub prefix_chunk: Size,
pub rest: Uniform,
}🔬 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
prefix: [Option<RegKind>; 8]
🔬 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?
prefix_chunk: 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?
rest: Uniform
🔬 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 CastTarget[src]
impl CastTargetpub fn pair(a: Reg, b: Reg) -> CastTarget[src]
pub fn pair(a: Reg, b: Reg) -> CastTarget🔬 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?
pub fn size<C>(&self, cx: C) -> Size where
C: HasDataLayout, [src]
pub fn size<C>(&self, cx: C) -> Size 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?
pub fn align<C>(&self, cx: C) -> Align where
C: HasDataLayout, [src]
pub fn align<C>(&self, cx: C) -> Align 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 Clone for CastTarget[src]
impl Clone for CastTargetfn clone(&self) -> CastTarget[src]
fn clone(&self) -> CastTargetReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for CastTarget[src]
impl Debug for CastTargetfn 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 Copy for CastTarget[src]
impl Copy for CastTargetimpl Eq for CastTarget[src]
impl Eq for CastTargetfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl From<Reg> for CastTarget[src]
impl From<Reg> for CastTargetfn from(unit: Reg) -> CastTarget[src]
fn from(unit: Reg) -> CastTargetPerforms the conversion.
impl From<Uniform> for CastTarget[src]
impl From<Uniform> for CastTargetfn from(uniform: Uniform) -> CastTarget[src]
fn from(uniform: Uniform) -> CastTargetPerforms the conversion.
impl PartialEq<CastTarget> for CastTarget[src]
impl PartialEq<CastTarget> for CastTargetfn eq(&self, other: &CastTarget) -> bool[src]
fn eq(&self, other: &CastTarget) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &CastTarget) -> bool[src]
fn ne(&self, other: &CastTarget) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for CastTarget
impl Send for CastTargetimpl Sync for CastTarget
impl Sync for CastTarget