pub enum Arg<'a> {
Void,
Scalar(Scalar),
Aggregate(Shape<'a>),
}Expand description
One argument, or one return value, as much of it as an ABI cares about.
Variants§
Void
void, which is a return type and never an argument.
Scalar(Scalar)
A scalar.
Aggregate(Shape<'a>)
A struct, a union, an array or a _Complex.
Trait Implementations§
impl<'a> Copy for Arg<'a>
impl<'a> Eq for Arg<'a>
impl<'a> StructuralPartialEq for Arg<'a>
Auto Trait Implementations§
impl<'a> Freeze for Arg<'a>
impl<'a> RefUnwindSafe for Arg<'a>
impl<'a> Send for Arg<'a>
impl<'a> Sync for Arg<'a>
impl<'a> Unpin for Arg<'a>
impl<'a> UnsafeUnpin for Arg<'a>
impl<'a> UnwindSafe for Arg<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more