pub fn get_implementing_args(
args: &[Box<dyn Any>],
) -> Vec<(TypeId, &dyn ArrayProtocol)>Expand description
Helper function to extract all arguments implementing the ArrayProtocol trait.
This is similar to NumPy’s _get_implementing_args function.
Optimized version with pre-allocated capacity and fast-path for common cases.