Struct rustc_target::abi::call::Uniform [−][src]
An argument passed entirely registers with the same kind (e.g. HFA / HVA on PPC64 and AArch64).
Fields
unit: Reg
total: Size
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.kind
isInteger
, 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 Uniform
pub fn align<C: HasDataLayout>(&self, cx: C) -> Align
[src]
pub fn align<C: HasDataLayout>(&self, cx: C) -> Align
Trait Implementations
impl Clone for Uniform
[src]
impl Clone for Uniform
fn clone(&self) -> Uniform
[src]
fn clone(&self) -> Uniform
Returns 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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Uniform
[src]
impl Copy for Uniform
impl PartialEq for Uniform
[src]
impl PartialEq for Uniform
fn eq(&self, other: &Uniform) -> bool
[src]
fn eq(&self, other: &Uniform) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for Uniform
[src]
impl Eq for Uniform
impl Debug for Uniform
[src]
impl Debug for Uniform
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Reg> for Uniform
[src]
impl From<Reg> for Uniform
impl From<Uniform> for CastTarget
[src]
impl From<Uniform> for CastTarget
fn from(uniform: Uniform) -> CastTarget
[src]
fn from(uniform: Uniform) -> CastTarget
Performs the conversion.