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.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: HasDataLayout>(&self, cx: C) -> Align[src]
pub fn align<C: HasDataLayout>(&self, cx: C) -> AlignTrait Implementations
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)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Uniform[src]
impl Copy for Uniformimpl PartialEq for Uniform[src]
impl PartialEq 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 Eq for Uniform[src]
impl Eq for Uniformimpl Debug for Uniform[src]
impl Debug for Uniformfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
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.