trait ComputeCallConv<'a, Ty, C>where
Ty: TyAbiInterface<'a, C> + Copy,{
// Required methods
fn new(cx: &C, conv: CanonAbi, c_variadic: bool) -> Self;
fn compute_ret_abi(&mut self, cx: &C, ret: &mut ArgAbi<'a, Ty>);
fn compute_arg_abi(
&mut self,
cx: &C,
arg: &mut ArgAbi<'a, Ty>,
is_vararg: bool,
);
// Provided method
fn passes_zsts(&self) -> bool { ... }
}Required Methods§
fn new(cx: &C, conv: CanonAbi, c_variadic: bool) -> Self
fn compute_ret_abi(&mut self, cx: &C, ret: &mut ArgAbi<'a, Ty>)
fn compute_arg_abi(&mut self, cx: &C, arg: &mut ArgAbi<'a, Ty>, is_vararg: bool)
Provided Methods§
fn passes_zsts(&self) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".