Source code

Revision control

Copy as Markdown

Other Tools

use extend::ext;
#[ext(name = Foo)]
impl i32 {
fn foo() {}
}
fn main() {
<i32 as Foo>::foo();
}