pub trait AsPackedCallable<I, O> {
// Required method
fn call_packed(&self, packed_args: &[AnyView<'_>]) -> Result<Any>;
// Provided method
fn type_schema() -> String
where Self: Sized { ... }
}Required Methods§
fn call_packed(&self, packed_args: &[AnyView<'_>]) -> Result<Any>
Provided Methods§
Sourcefn type_schema() -> Stringwhere
Self: Sized,
fn type_schema() -> Stringwhere
Self: Sized,
The type schema of the function, as C++ FunctionInfo::TypeSchema
writes it.
A typed function lists its return and parameter types. The default,
for a callable whose signature is not known, is the schema of an
untyped function, as C++ refl::GlobalDef().def_packed records it.