diff --git a/src/fast_api.rs b/src/fast_api.rs index 80c265a2..e4ac272a 100644 --- a/src/fast_api.rs +++ b/src/fast_api.rs @@ -250,9 +250,11 @@ impl FastApiTypedArray { } pub trait FastFunction { + #[inline(always)] fn args(&self) -> &'static [Type] { &[] } + #[inline(always)] fn return_type(&self) -> CType { CType::Void }