Struct variadic_closure::Function[][src]

pub struct Function { /* fields omitted */ }
Expand description

A type that is like Closure<A, B, C…> but which has no generic params. This is accomplished via unsafe techniques.

Note, when invoking the function through the call*() family of methods, the exact types must be passed through, including the return type. No implicit conversions will be performed, as it is a strict TypeId check. Mismatching types will cause a panic.

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.