pub fn partition_methods( methods: &[MethodDef], ) -> (Vec<&MethodDef>, Vec<&MethodDef>)
Partition methods into (instance, static).