Enum mica::ffvariants::VarargsInfallible
source · [−]pub enum VarargsInfallible {}
Expand description
A bare varargs infallible function.
Trait Implementations
sourceimpl<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
sourceconst 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 moresourcefn into_raw_foreign_function(self) -> RawForeignFunction
fn into_raw_foreign_function(self) -> RawForeignFunction
Converts the function to a
RawForeignFunction
.impl BareMaybeVarargs for VarargsInfallible
Auto Trait Implementations
impl RefUnwindSafe for VarargsInfallible
impl Send for VarargsInfallible
impl Sync for VarargsInfallible
impl Unpin for VarargsInfallible
impl UnwindSafe for VarargsInfallible
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more