Struct mica::ffvariants::InfallibleRawSelf
source · pub struct InfallibleRawSelf<Args>(_);
Expand description
An infallible function with RawSelf
.
Trait Implementations§
source§impl<Fun, Ret, A, B, C, D, E, F, G, H> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A, B, C, D, E, F, G, H)>> for Funwhere
Fun: Fn(RawSelf<'_>, A, B, C, D, E, F, G, H) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
B: TryFromValue + 'static,
C: TryFromValue + 'static,
D: TryFromValue + 'static,
E: TryFromValue + 'static,
F: TryFromValue + 'static,
G: TryFromValue + 'static,
H: TryFromValue + 'static,
impl<Fun, Ret, A, B, C, D, E, F, G, H> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A, B, C, D, E, F, G, H)>> for Funwhere
Fun: Fn(RawSelf<'_>, A, B, C, D, E, F, G, H) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
B: TryFromValue + 'static,
C: TryFromValue + 'static,
D: TryFromValue + 'static,
E: TryFromValue + 'static,
F: TryFromValue + 'static,
G: TryFromValue + 'static,
H: TryFromValue + 'static,
§type ParameterCount = MethodParameterCount
type ParameterCount = MethodParameterCount
The type used for parameter counts in this kind of foreign functions. Read more
source§const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x09): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A, B, C, D, E, F, G, H)>>>::ParameterCount}
const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x09): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A, B, C, D, E, F, G, H)>>>::ParameterCount}
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
.source§impl<Fun, Ret, A, B, C, D, E, F, G> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A, B, C, D, E, F, G)>> for Funwhere
Fun: Fn(RawSelf<'_>, A, B, C, D, E, F, G) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
B: TryFromValue + 'static,
C: TryFromValue + 'static,
D: TryFromValue + 'static,
E: TryFromValue + 'static,
F: TryFromValue + 'static,
G: TryFromValue + 'static,
impl<Fun, Ret, A, B, C, D, E, F, G> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A, B, C, D, E, F, G)>> for Funwhere
Fun: Fn(RawSelf<'_>, A, B, C, D, E, F, G) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
B: TryFromValue + 'static,
C: TryFromValue + 'static,
D: TryFromValue + 'static,
E: TryFromValue + 'static,
F: TryFromValue + 'static,
G: TryFromValue + 'static,
§type ParameterCount = MethodParameterCount
type ParameterCount = MethodParameterCount
The type used for parameter counts in this kind of foreign functions. Read more
source§const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x08): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A, B, C, D, E, F, G)>>>::ParameterCount}
const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x08): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A, B, C, D, E, F, G)>>>::ParameterCount}
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
.source§impl<Fun, Ret, A, B, C, D, E, F> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A, B, C, D, E, F)>> for Funwhere
Fun: Fn(RawSelf<'_>, A, B, C, D, E, F) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
B: TryFromValue + 'static,
C: TryFromValue + 'static,
D: TryFromValue + 'static,
E: TryFromValue + 'static,
F: TryFromValue + 'static,
impl<Fun, Ret, A, B, C, D, E, F> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A, B, C, D, E, F)>> for Funwhere
Fun: Fn(RawSelf<'_>, A, B, C, D, E, F) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
B: TryFromValue + 'static,
C: TryFromValue + 'static,
D: TryFromValue + 'static,
E: TryFromValue + 'static,
F: TryFromValue + 'static,
§type ParameterCount = MethodParameterCount
type ParameterCount = MethodParameterCount
The type used for parameter counts in this kind of foreign functions. Read more
source§const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x07): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A, B, C, D, E, F)>>>::ParameterCount}
const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x07): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A, B, C, D, E, F)>>>::ParameterCount}
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
.source§impl<Fun, Ret, A, B, C, D, E> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A, B, C, D, E)>> for Funwhere
Fun: Fn(RawSelf<'_>, A, B, C, D, E) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
B: TryFromValue + 'static,
C: TryFromValue + 'static,
D: TryFromValue + 'static,
E: TryFromValue + 'static,
impl<Fun, Ret, A, B, C, D, E> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A, B, C, D, E)>> for Funwhere
Fun: Fn(RawSelf<'_>, A, B, C, D, E) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
B: TryFromValue + 'static,
C: TryFromValue + 'static,
D: TryFromValue + 'static,
E: TryFromValue + 'static,
§type ParameterCount = MethodParameterCount
type ParameterCount = MethodParameterCount
The type used for parameter counts in this kind of foreign functions. Read more
source§const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x06): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A, B, C, D, E)>>>::ParameterCount}
const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x06): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A, B, C, D, E)>>>::ParameterCount}
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
.source§impl<Fun, Ret, A, B, C, D> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A, B, C, D)>> for Funwhere
Fun: Fn(RawSelf<'_>, A, B, C, D) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
B: TryFromValue + 'static,
C: TryFromValue + 'static,
D: TryFromValue + 'static,
impl<Fun, Ret, A, B, C, D> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A, B, C, D)>> for Funwhere
Fun: Fn(RawSelf<'_>, A, B, C, D) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
B: TryFromValue + 'static,
C: TryFromValue + 'static,
D: TryFromValue + 'static,
§type ParameterCount = MethodParameterCount
type ParameterCount = MethodParameterCount
The type used for parameter counts in this kind of foreign functions. Read more
source§const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x05): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A, B, C, D)>>>::ParameterCount}
const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x05): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A, B, C, D)>>>::ParameterCount}
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
.source§impl<Fun, Ret, A, B, C> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A, B, C)>> for Funwhere
Fun: Fn(RawSelf<'_>, A, B, C) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
B: TryFromValue + 'static,
C: TryFromValue + 'static,
impl<Fun, Ret, A, B, C> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A, B, C)>> for Funwhere
Fun: Fn(RawSelf<'_>, A, B, C) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
B: TryFromValue + 'static,
C: TryFromValue + 'static,
§type ParameterCount = MethodParameterCount
type ParameterCount = MethodParameterCount
The type used for parameter counts in this kind of foreign functions. Read more
source§const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x04): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A, B, C)>>>::ParameterCount}
const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x04): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A, B, C)>>>::ParameterCount}
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
.source§impl<Fun, Ret, A, B> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A, B)>> for Funwhere
Fun: Fn(RawSelf<'_>, A, B) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
B: TryFromValue + 'static,
impl<Fun, Ret, A, B> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A, B)>> for Funwhere
Fun: Fn(RawSelf<'_>, A, B) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
B: TryFromValue + 'static,
§type ParameterCount = MethodParameterCount
type ParameterCount = MethodParameterCount
The type used for parameter counts in this kind of foreign functions. Read more
source§const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x03): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A, B)>>>::ParameterCount}
const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x03): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A, B)>>>::ParameterCount}
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
.source§impl<Fun, Ret, A> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A)>> for Funwhere
Fun: Fn(RawSelf<'_>, A) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
impl<Fun, Ret, A> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>, A)>> for Funwhere
Fun: Fn(RawSelf<'_>, A) -> Ret + 'static,
Ret: IntoValue + 'static,
A: TryFromValue + 'static,
§type ParameterCount = MethodParameterCount
type ParameterCount = MethodParameterCount
The type used for parameter counts in this kind of foreign functions. Read more
source§const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x02): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A)>>>::ParameterCount}
const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x02): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>, A)>>>::ParameterCount}
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
.source§impl<Fun, Ret> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>,)>> for Funwhere
Fun: Fn(RawSelf<'_>) -> Ret + 'static,
Ret: IntoValue + 'static,
impl<Fun, Ret> ForeignFunction<InfallibleRawSelf<(RawSelf<'_>,)>> for Funwhere
Fun: Fn(RawSelf<'_>) -> Ret + 'static,
Ret: IntoValue + 'static,
§type ParameterCount = MethodParameterCount
type ParameterCount = MethodParameterCount
The type used for parameter counts in this kind of foreign functions. Read more
source§const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x01): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>,)>>>::ParameterCount}
const PARAMETER_COUNT: Self::ParameterCount = {transmute(0x01): <Fun as hl::function::ForeignFunction<hl::function::ffvariants::InfallibleRawSelf<(hl::function::RawSelf<'_>,)>>>::ParameterCount}
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
.