pub struct ShimSig<'tcx, const ARGS: usize> {
pub abi: ExternAbi,
pub args: [Ty<'tcx>; ARGS],
pub ret: Ty<'tcx>,
}
Expand description
Describes the expected signature of a shim.
Fields§
§abi: ExternAbi
§args: [Ty<'tcx>; ARGS]
§ret: Ty<'tcx>
Auto Trait Implementations§
impl<'tcx, const ARGS: usize> Freeze for ShimSig<'tcx, ARGS>
impl<'tcx, const ARGS: usize> !RefUnwindSafe for ShimSig<'tcx, ARGS>
impl<'tcx, const ARGS: usize> Send for ShimSig<'tcx, ARGS>
impl<'tcx, const ARGS: usize> Sync for ShimSig<'tcx, ARGS>
impl<'tcx, const ARGS: usize> Unpin for ShimSig<'tcx, ARGS>
impl<'tcx, const ARGS: usize> !UnwindSafe for ShimSig<'tcx, ARGS>
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
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.