[−][src]Struct rustc_codegen_llvm::abi::FnAbi
Metadata describing how the arguments to a native function should be passed in order to respect the native ABI.
I will do my best to describe this structure, but these comments are reverse-engineered and may be inaccurate. -NDM
Fields
args: Vec<ArgAbi<'a, Ty>>The LLVM types of each argument.
ret: ArgAbi<'a, Ty>LLVM return type.
c_variadic: boolfixed_count: usizeThe count of non-variadic arguments.
Should only be different from args.len() when c_variadic is true. This can be used to know whether an argument is variadic or not.
conv: Convcan_unwind: boolTrait Implementations
impl<'tcx> FnAbiLlvmExt<'tcx> for FnAbi<'tcx, Ty<'tcx>>[src]
pub fn llvm_type<'ll>(&self, cx: &CodegenCx<'ll, 'tcx>) -> &'ll Type[src]
pub fn ptr_to_llvm_type<'ll>(&self, cx: &CodegenCx<'ll, 'tcx>) -> &'ll Type[src]
pub fn llvm_cconv(&self) -> CallConv[src]
pub fn apply_attrs_llfn<'ll>(&self, cx: &CodegenCx<'ll, 'tcx>, llfn: &'ll Value)[src]
pub fn apply_attrs_callsite<'a, 'll>(
&self,
bx: &mut Builder<'a, 'll, 'tcx>,
callsite: &'ll Value
)[src]
&self,
bx: &mut Builder<'a, 'll, 'tcx>,
callsite: &'ll Value
)
Auto Trait Implementations
impl<'a, Ty> RefUnwindSafe for FnAbi<'a, Ty> where
Ty: RefUnwindSafe,
Ty: RefUnwindSafe,
impl<'a, Ty> Send for FnAbi<'a, Ty> where
Ty: Send,
Ty: Send,
impl<'a, Ty> Sync for FnAbi<'a, Ty> where
Ty: Sync,
Ty: Sync,
impl<'a, Ty> Unpin for FnAbi<'a, Ty> where
Ty: Unpin,
Ty: Unpin,
impl<'a, Ty> UnwindSafe for FnAbi<'a, Ty> where
Ty: UnwindSafe,
Ty: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,