I read your blog post and TBH I'm not really sure what extension types are, I've never used rust. But I tried this solution in python and am curious is this is something you tried?
>>> class A:
... def foo(self):
... print('foo')
...
>>> class B:
... def bar(self):
... print('bar')
...
>>> A.bar = B.bar
>>> A().bar()
bar
Functions in python are objects as well. So while you can't do this to built in python types, there is a high likelihood you can do this to most objects in python libraries.