Trait specta::function::FunctionArg
source · pub trait FunctionArg {
// Required method
fn to_datatype(type_map: &mut TypeMap) -> Option<DataType>;
}Available on crate feature
function only.Expand description
Implemented by types that can be used as an argument in a function annotated with
specta.
Required Methods§
Object Safety§
This trait is not object safe.