Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bedroombuilds/python2rust
/ add
Method
add
0b_traits/rust/defaults.rs:22–28 ·
view source on GitHub ↗
(self, other: D)
Source
from the content-addressed store, hash-verified
20
type Output = D;
21
22
fn add(self, other: D) -> D {
23
D {
24
x: self.x + other.x,
25
y: self.y + other.y,
26
z: self.z + other.z,
27
}
28
}
29
}
30
31
fn main() {
Callers
3
__repr__
Method · 0.45
take
Method · 0.45
drop
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected