Struct rustc::ty::layout::call::Uniform [−][src]
🔬 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?
An argument passed entirely registers with the same kind (e.g. HFA / HVA on PPC64 and AArch64).
Fields
unit: Reg
🔬 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?
total: 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?
The total size of the argument, which can be:
- equal to
unit.size(one scalar/vector) - a multiple of
unit.size(an array of scalar/vectors) - if
unit.kindisInteger, the last element can be shorter, i.e.{ i64, i64, i32 }for 64-bit integers with a total size of 20 bytes
Methods
impl Uniform[src]
impl Uniformpub 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 From<Reg> for Uniform[src]
impl From<Reg> for Uniformimpl From<Uniform> for CastTarget[src]
impl From<Uniform> for CastTargetfn from(uniform: Uniform) -> CastTarget[src]
fn from(uniform: Uniform) -> CastTargetPerforms the conversion.
impl PartialEq<Uniform> for Uniform[src]
impl PartialEq<Uniform> for Uniformfn eq(&self, other: &Uniform) -> bool[src]
fn eq(&self, other: &Uniform) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Uniform) -> bool[src]
fn ne(&self, other: &Uniform) -> boolThis method tests for !=.
impl Clone for Uniform[src]
impl Clone for Uniformfn clone(&self) -> Uniform[src]
fn clone(&self) -> UniformReturns 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 Uniform[src]
impl Debug for Uniformfn 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 Uniform[src]
impl Eq for Uniformfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl Copy for Uniform[src]
impl Copy for Uniform