Struct rustc_target::abi::call::Uniform [−][src]
Expand description
An argument passed entirely registers with the same kind (e.g., HFA / HVA on PPC64 and AArch64).
Fields
unit: Regtotal: SizeExpand description
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.
Implementations
impl Uniform[src]
impl Uniform[src]pub fn align<C: HasDataLayout>(&self, cx: &C) -> Align[src]
Trait Implementations
impl From<Uniform> for CastTarget[src]
impl From<Uniform> for CastTarget[src]fn from(uniform: Uniform) -> CastTarget[src]
fn from(uniform: Uniform) -> CastTarget[src]Performs the conversion.
impl Copy for Uniform[src]
impl Eq for Uniform[src]
impl StructuralEq for Uniform[src]
impl StructuralPartialEq for Uniform[src]
Auto Trait Implementations
impl RefUnwindSafe for Uniform
impl Send for Uniform
impl Sync for Uniform
impl Unpin for Uniform
impl UnwindSafe for Uniform
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more