pub struct Passing {
pub ty: Type,
pub reg: Reg,
pub abi: Abi,
}Expand description
One value a call passes.
Fields§
§ty: TypeThe type it travels as, which for an object travelling as bytes is the pointer’s rather than the object’s, because the pointer is what the machine IR has.
reg: RegThe register holding it, or holding its address when the bytes are what travel.
abi: AbiWhat the classification asked of it. The one thing read here is whether the object behind the pointer is the argument, since everything else it can say is about a value that is already in a register in the form it travels in.
Trait Implementations§
impl Copy for Passing
impl Eq for Passing
impl StructuralPartialEq for Passing
Auto Trait Implementations§
impl Freeze for Passing
impl RefUnwindSafe for Passing
impl Send for Passing
impl Sync for Passing
impl Unpin for Passing
impl UnsafeUnpin for Passing
impl UnwindSafe for Passing
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