Enum mica::ffvariants::VarargsFallible
source · pub enum VarargsFallible {}
Expand description
A bare varargs fallible function.
Trait Implementations§
source§impl<Ret, Err, F> ForeignFunction<VarargsFallible> for Fwhere
Ret: IntoValue + 'static,
Err: Error + 'static,
F: Fn(Arguments<'_>) -> Result<Ret, Err> + 'static,
impl<Ret, Err, F> ForeignFunction<VarargsFallible> for Fwhere
Ret: IntoValue + 'static,
Err: Error + 'static,
F: Fn(Arguments<'_>) -> Result<Ret, Err> + '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
.