Enum mica::ffvariants::VarargsInfallible
source · pub enum VarargsInfallible {}
Expand description
A bare varargs infallible function.
Trait Implementations§
source§impl<Ret, F> ForeignFunction<VarargsInfallible> for Fwhere
Ret: IntoValue + 'static,
F: Fn(Arguments<'_>) -> Ret + 'static,
impl<Ret, F> ForeignFunction<VarargsInfallible> for Fwhere
Ret: IntoValue + 'static,
F: Fn(Arguments<'_>) -> Ret + 'static,
§type ParameterCount = FunctionParameterCount
type ParameterCount = FunctionParameterCount
The type used for parameter counts in this kind of foreign functions. Read more
source§const PARAMETER_COUNT: Self::ParameterCount = FunctionParameterCount::Varargs
const PARAMETER_COUNT: Self::ParameterCount = FunctionParameterCount::Varargs
The number of parameters this function has, or
None
if the function accepts a variable
number of arguments. Read moresource§fn into_raw_foreign_function(self) -> RawForeignFunction
fn into_raw_foreign_function(self) -> RawForeignFunction
Converts the function to a
RawForeignFunction
.