pub struct Param {
pub ty: Type,
pub abi: Abi,
}Expand description
One parameter, or one return value: a type and how it travels.
Fields§
§ty: TypeThe type the IR sees, which for the indirect forms is ptr.
abi: AbiWhat the ABI asks of it.
Implementations§
Trait Implementations§
impl Copy for Param
impl Eq for Param
impl StructuralPartialEq for Param
Auto Trait Implementations§
impl Freeze for Param
impl RefUnwindSafe for Param
impl Send for Param
impl Sync for Param
impl Unpin for Param
impl UnsafeUnpin for Param
impl UnwindSafe for Param
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