use std::ops::Add; #[derive(Copy, Clone)] struct Foo; impl Add for Foo { type Output = Foo; fn add(self, _rhs: Foo) -> Foo { println!("Adding!
確定! 回上一頁