pub(crate) trait FnAbiLlvmExt<'ll, 'tcx> {
// Required methods
fn llvm_type(&self, cx: &GenericCx<'ll, FullCx<'ll, 'tcx>>) -> Type<'ll>;
fn ptr_to_llvm_type(
&self,
cx: &GenericCx<'ll, FullCx<'ll, 'tcx>>,
) -> Type<'ll>;
fn llvm_cconv(&self, cx: &GenericCx<'ll, FullCx<'ll, 'tcx>>) -> CallConv;
fn apply_attrs_llfn(
&self,
cx: &GenericCx<'ll, FullCx<'ll, 'tcx>>,
llfn: Value<'ll>,
instance: Option<Instance<'tcx>>,
);
fn apply_attrs_callsite(
&self,
bx: &mut GenericBuilder<'_, 'll, FullCx<'ll, 'tcx>>,
callsite: Value<'ll>,
);
}Required Methods§
fn llvm_type(&self, cx: &GenericCx<'ll, FullCx<'ll, 'tcx>>) -> Type<'ll>
fn ptr_to_llvm_type(&self, cx: &GenericCx<'ll, FullCx<'ll, 'tcx>>) -> Type<'ll>
fn llvm_cconv(&self, cx: &GenericCx<'ll, FullCx<'ll, 'tcx>>) -> CallConv
Sourcefn apply_attrs_llfn(
&self,
cx: &GenericCx<'ll, FullCx<'ll, 'tcx>>,
llfn: Value<'ll>,
instance: Option<Instance<'tcx>>,
)
fn apply_attrs_llfn( &self, cx: &GenericCx<'ll, FullCx<'ll, 'tcx>>, llfn: Value<'ll>, instance: Option<Instance<'tcx>>, )
Apply attributes to a function declaration/definition.
Sourcefn apply_attrs_callsite(
&self,
bx: &mut GenericBuilder<'_, 'll, FullCx<'ll, 'tcx>>,
callsite: Value<'ll>,
)
fn apply_attrs_callsite( &self, bx: &mut GenericBuilder<'_, 'll, FullCx<'ll, 'tcx>>, callsite: Value<'ll>, )
Apply attributes to a function call.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".